Question
In 1992, an investigation was launched to determine whether smoking mothers had an increased risk of their children developing asthma by the age of twelve.
In 1992, an investigation was launched to determine whether smoking mothers had an increased risk of their children developing asthma by the age of twelve. Data relevant to our exam is tabulated below. Your work should center on the following model. logit[Pr(asthmatic kid)] = 0 + 1 boy + 2 smoker Gender of Kid Mother Asthmatic kid Yes No boy smoker 17 63 non smoker 41 274 girl smoker 8 55 non smoker 20 261
(1) Give an algebraic expression for the term in the log-likelihood function that is due to the girl-smoker group.
(2) Report MLEs of the three model parameters. (3) Use proc fcmp to write a SAS script that computes the log-likelihood function for any given values of 0,1 and 2. Then confirm that the MLEs from part (2) indeed produce the maximized log-likelihood as SAS claims.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started