Question: 3: Logistic and Poisson regression Use Stata command. Each problem uses a different dataset. Load the respective dataset for each problem. *Categorical variable that is
3: Logistic and Poisson regression Use Stata command. Each problem uses a different dataset. Load the respective dataset for each problem. *Categorical variable that is a string with values NotTrue and YesTrue to numeric conversion with additional label so that true gets mapped to 1 and false to 0. label define thisvarlab 0 "NotTrue" 1 "YesTrue" encode thisvar, gen(thisvar_n) label(thisvarlab) 1. In this problem, you will analyze data originally from an Open Learning Initiative course to evaluate whether occurrence of low birth weight is significantly related to maternal smoking during pregnancy. The data is in the file low_birth_weight.dta located in the Homework 3 folder. (a) Look at a summary of the low birthweight variable LOW. Make your best educated guess about what type of epidemiologic study this data comes from and explain your reasoning. (b) Based on the answer to the above question, what measure of association does this type of study use? (c) Using logistic regression, estimate and interpret the crude association (OR) with 95% confidence interval between maternal smoking and low birth weight. Explain how you got your answer. (d) Estimate and interpret the age-adjusted association (OR) between maternal smoking and low birth weight. Explain how you
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
