SlideShare a Scribd company logo
1 of 1
Download to read offline
Give R commands and examples of the following: a. How to find the least square estimates and
maximum likelihood estimators? (Hint: the least squares estimates are the same as the MLEs of
the GLM assuming normal rather than binomial random component) b. Use ordinary least
squares. Find the predicted probability at the highest observed weight c.fit model using maximum
likelihood estimation, treating Y as a binary variable in R d. How to fit logistic regression model in
R (and how to derive the estimated logit at a weight of 5.2 kg and derive corresponding estimated
probability pi hat. e. HOw to fit a poison regression model wit the log link. report the prediction
equation f. Allow overdispersion by fitting negative binomial loglinear model

More Related Content

More from activefiren

Gil Reihana was the chief executive officer an Xstreme com.pdf
Gil Reihana was the chief executive officer an Xstreme com.pdfGil Reihana was the chief executive officer an Xstreme com.pdf
Gil Reihana was the chief executive officer an Xstreme com.pdf
activefiren
 
GESTIN DE PROYECTOS Fighting a Global Pandemic AstraZeneca.pdf
GESTIN DE PROYECTOS  Fighting a Global Pandemic AstraZeneca.pdfGESTIN DE PROYECTOS  Fighting a Global Pandemic AstraZeneca.pdf
GESTIN DE PROYECTOS Fighting a Global Pandemic AstraZeneca.pdf
activefiren
 
Geologic maps show the distribution of rock units at the sur.pdf
Geologic maps show the distribution of rock units at the sur.pdfGeologic maps show the distribution of rock units at the sur.pdf
Geologic maps show the distribution of rock units at the sur.pdf
activefiren
 
Gardnern be zihninin her birinin anlamn aklayn Be zihnin.pdf
Gardnern be zihninin her birinin anlamn aklayn  Be zihnin.pdfGardnern be zihninin her birinin anlamn aklayn  Be zihnin.pdf
Gardnern be zihninin her birinin anlamn aklayn Be zihnin.pdf
activefiren
 

More from activefiren (20)

Give a fifaEf examplo of a retall format development itratei.pdf
Give a fifaEf examplo of a retall format development itratei.pdfGive a fifaEf examplo of a retall format development itratei.pdf
Give a fifaEf examplo of a retall format development itratei.pdf
 
Give an example and the pros and cons of each point Marketin.pdf
Give an example and the pros and cons of each point Marketin.pdfGive an example and the pros and cons of each point Marketin.pdf
Give an example and the pros and cons of each point Marketin.pdf
 
Gil Reihana was the chief executive officer an Xstreme com.pdf
Gil Reihana was the chief executive officer an Xstreme com.pdfGil Reihana was the chief executive officer an Xstreme com.pdf
Gil Reihana was the chief executive officer an Xstreme com.pdf
 
GESTIN DE REGISTROS Los archivos Tickler son una forma de.pdf
GESTIN DE REGISTROS Los archivos Tickler son una forma de.pdfGESTIN DE REGISTROS Los archivos Tickler son una forma de.pdf
GESTIN DE REGISTROS Los archivos Tickler son una forma de.pdf
 
GESTIN DE PROYECTOS Fighting a Global Pandemic AstraZeneca.pdf
GESTIN DE PROYECTOS  Fighting a Global Pandemic AstraZeneca.pdfGESTIN DE PROYECTOS  Fighting a Global Pandemic AstraZeneca.pdf
GESTIN DE PROYECTOS Fighting a Global Pandemic AstraZeneca.pdf
 
Gevek fikri mlkiyet yasalarna sahip bir lke A lkedeki .pdf
Gevek fikri mlkiyet yasalarna sahip bir lke  A lkedeki .pdfGevek fikri mlkiyet yasalarna sahip bir lke  A lkedeki .pdf
Gevek fikri mlkiyet yasalarna sahip bir lke A lkedeki .pdf
 
George produces computer software user friendly His firm.pdf
George produces computer software user friendly His firm.pdfGeorge produces computer software user friendly His firm.pdf
George produces computer software user friendly His firm.pdf
 
Geretione a a coworkr bi mereme F anintern 1 a mogntith S.pdf
Geretione a a coworkr bi mereme F anintern 1 a mogntith S.pdfGeretione a a coworkr bi mereme F anintern 1 a mogntith S.pdf
Geretione a a coworkr bi mereme F anintern 1 a mogntith S.pdf
 
Geologic maps show the distribution of rock units at the sur.pdf
Geologic maps show the distribution of rock units at the sur.pdfGeologic maps show the distribution of rock units at the sur.pdf
Geologic maps show the distribution of rock units at the sur.pdf
 
GEOL 102 Catalyst Question What are exotic terranes How do .pdf
GEOL 102 Catalyst Question What are exotic terranes How do .pdfGEOL 102 Catalyst Question What are exotic terranes How do .pdf
GEOL 102 Catalyst Question What are exotic terranes How do .pdf
 
GEOGRAFA DE MCHIGAN 1 Cul de las siguientes comunidade.pdf
GEOGRAFA DE MCHIGAN  1 Cul de las siguientes comunidade.pdfGEOGRAFA DE MCHIGAN  1 Cul de las siguientes comunidade.pdf
GEOGRAFA DE MCHIGAN 1 Cul de las siguientes comunidade.pdf
 
geography questions 1 which of the following would be a cat.pdf
geography questions 1 which of the following would be a cat.pdfgeography questions 1 which of the following would be a cat.pdf
geography questions 1 which of the following would be a cat.pdf
 
Gardnern be zihninin her birinin anlamn aklayn Be zihnin.pdf
Gardnern be zihninin her birinin anlamn aklayn  Be zihnin.pdfGardnern be zihninin her birinin anlamn aklayn  Be zihnin.pdf
Gardnern be zihninin her birinin anlamn aklayn Be zihnin.pdf
 
Genlerin nasl ifade edildiini anlamak genetiin kendisi iin.pdf
Genlerin nasl ifade edildiini anlamak genetiin kendisi iin.pdfGenlerin nasl ifade edildiini anlamak genetiin kendisi iin.pdf
Genlerin nasl ifade edildiini anlamak genetiin kendisi iin.pdf
 
Genetics A geneticist is studying two genes Each gene can .pdf
Genetics A geneticist is studying two genes Each gene can .pdfGenetics A geneticist is studying two genes Each gene can .pdf
Genetics A geneticist is studying two genes Each gene can .pdf
 
Genes anc Traits Observe the students in yeur classroom Th.pdf
Genes anc Traits Observe the students in yeur classroom Th.pdfGenes anc Traits Observe the students in yeur classroom Th.pdf
Genes anc Traits Observe the students in yeur classroom Th.pdf
 
Genetically modified organisms GMOs are living organisms w.pdf
Genetically modified organisms GMOs are living organisms w.pdfGenetically modified organisms GMOs are living organisms w.pdf
Genetically modified organisms GMOs are living organisms w.pdf
 
Generating ioppath To find the path from node n to its iop .pdf
Generating ioppath To find the path from node n to its iop .pdfGenerating ioppath To find the path from node n to its iop .pdf
Generating ioppath To find the path from node n to its iop .pdf
 
FVn future value at time point n P present value at t.pdf
FVn future value at time point n P present value at t.pdfFVn future value at time point n P present value at t.pdf
FVn future value at time point n P present value at t.pdf
 
Genent Industries Inc GII developed standard costs for .pdf
Genent Industries Inc GII developed standard costs for .pdfGenent Industries Inc GII developed standard costs for .pdf
Genent Industries Inc GII developed standard costs for .pdf
 

Recently uploaded

會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
中 央社
 

Recently uploaded (20)

Navigating the Misinformation Minefield: The Role of Higher Education in the ...
Navigating the Misinformation Minefield: The Role of Higher Education in the ...Navigating the Misinformation Minefield: The Role of Higher Education in the ...
Navigating the Misinformation Minefield: The Role of Higher Education in the ...
 
An overview of the various scriptures in Hinduism
An overview of the various scriptures in HinduismAn overview of the various scriptures in Hinduism
An overview of the various scriptures in Hinduism
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT VẬT LÝ 2024 - TỪ CÁC TRƯỜNG, TRƯ...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT VẬT LÝ 2024 - TỪ CÁC TRƯỜNG, TRƯ...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT VẬT LÝ 2024 - TỪ CÁC TRƯỜNG, TRƯ...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT VẬT LÝ 2024 - TỪ CÁC TRƯỜNG, TRƯ...
 
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
 
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfDanh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
 
....................Muslim-Law notes.pdf
....................Muslim-Law notes.pdf....................Muslim-Law notes.pdf
....................Muslim-Law notes.pdf
 
The Last Leaf, a short story by O. Henry
The Last Leaf, a short story by O. HenryThe Last Leaf, a short story by O. Henry
The Last Leaf, a short story by O. Henry
 
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
 
Behavioral-sciences-dr-mowadat rana (1).pdf
Behavioral-sciences-dr-mowadat rana (1).pdfBehavioral-sciences-dr-mowadat rana (1).pdf
Behavioral-sciences-dr-mowadat rana (1).pdf
 
Features of Video Calls in the Discuss Module in Odoo 17
Features of Video Calls in the Discuss Module in Odoo 17Features of Video Calls in the Discuss Module in Odoo 17
Features of Video Calls in the Discuss Module in Odoo 17
 
Morse OER Some Benefits and Challenges.pptx
Morse OER Some Benefits and Challenges.pptxMorse OER Some Benefits and Challenges.pptx
Morse OER Some Benefits and Challenges.pptx
 
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjjStl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
 
How to Analyse Profit of a Sales Order in Odoo 17
How to Analyse Profit of a Sales Order in Odoo 17How to Analyse Profit of a Sales Order in Odoo 17
How to Analyse Profit of a Sales Order in Odoo 17
 
Post Exam Fun(da) Intra UEM General Quiz 2024 - Prelims q&a.pdf
Post Exam Fun(da) Intra UEM General Quiz 2024 - Prelims q&a.pdfPost Exam Fun(da) Intra UEM General Quiz 2024 - Prelims q&a.pdf
Post Exam Fun(da) Intra UEM General Quiz 2024 - Prelims q&a.pdf
 
How to the fix Attribute Error in odoo 17
How to the fix Attribute Error in odoo 17How to the fix Attribute Error in odoo 17
How to the fix Attribute Error in odoo 17
 
Championnat de France de Tennis de table/
Championnat de France de Tennis de table/Championnat de France de Tennis de table/
Championnat de France de Tennis de table/
 
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
 
Word Stress rules esl .pptx
Word Stress rules esl               .pptxWord Stress rules esl               .pptx
Word Stress rules esl .pptx
 
Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17
Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17
Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17
 
Post Exam Fun(da) Intra UEM General Quiz - Finals.pdf
Post Exam Fun(da) Intra UEM General Quiz - Finals.pdfPost Exam Fun(da) Intra UEM General Quiz - Finals.pdf
Post Exam Fun(da) Intra UEM General Quiz - Finals.pdf
 

Give R commands and examples of the following a How to fin.pdf

  • 1. Give R commands and examples of the following: a. How to find the least square estimates and maximum likelihood estimators? (Hint: the least squares estimates are the same as the MLEs of the GLM assuming normal rather than binomial random component) b. Use ordinary least squares. Find the predicted probability at the highest observed weight c.fit model using maximum likelihood estimation, treating Y as a binary variable in R d. How to fit logistic regression model in R (and how to derive the estimated logit at a weight of 5.2 kg and derive corresponding estimated probability pi hat. e. HOw to fit a poison regression model wit the log link. report the prediction equation f. Allow overdispersion by fitting negative binomial loglinear model