You were asked to help with analysis of birth weights (BW) of 10,000 infants born in NYC during a certain period of time The aim of the analysis is to see whether the birth weights of the infants are associated with mothers AGE at birth (continuous variable in years) and mothers smoking status (the maternal smoking status MSS contains 4 categories “Non-smoker”, “Past-smoker”, “Passive-smoker”, “Smoker”) and NYC boroughs (the BOROUGH variable contains 5 categories “Manhattan”, “Bronx”, “Brooklyn”, “Queens” and “Staten Island”) Questions: (1) How many dummy variables do you need to create to analyze the effect of BOROUGH and MSS? Select “Manhattan” and "Non-Smoker" as a reference category. Write out all the dummy variables. (2) Write down the population model that estimates BW based on variables AGE, MSS and BOROUGH. Make sure that it is clear what each predictor means. (3) How many parallel lines are computed by model from 1i)?
You were asked to help with analysis of birth weights (BW) of 10,000 infants born in NYC during a certain period of time
The aim of the analysis is to see whether the birth weights of the infants are associated with mothers AGE at birth (continuous variable in years) and mothers smoking status (the maternal smoking status MSS contains 4 categories “Non-smoker”, “Past-smoker”, “Passive-smoker”, “Smoker”) and NYC boroughs (the BOROUGH variable contains 5 categories “Manhattan”, “Bronx”, “Brooklyn”, “Queens” and “Staten Island”)
Questions:
(1) How many dummy variables do you need to create to analyze the effect of BOROUGH and MSS? Select “Manhattan” and "Non-Smoker" as a reference category. Write out all the dummy variables.
(2) Write down the population model that estimates BW based on variables AGE, MSS and BOROUGH. Make sure that it is clear what each predictor means.
(3) How many parallel lines are computed by model from 1i)?
Step by step
Solved in 4 steps