Question: 3: Use Stata Command. Logistic and Poisson regression Each problem uses a different dataset. Load the respective dataset for each problem. You must include the
3: Use Stata Command. Logistic and Poisson regression Each problem uses a different dataset. Load the respective dataset for each problem. You must include the code and the output in your responses. Remember that when you have a binary variable that Stata has encoded as a string, you need to use the encode command 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. Here are the variables in the dataset: LOW = Low birth weight (0=No (birth weight 2500 g) 1=Yes (birth weight < 2500 g) AGE = Age of mother (in years) LWT = Weight of mother at the last menstrual period (in pounds) RACE = Race of mother (1=White, 2=Black, 3=Other) SMOKE = Smoking status during pregnancy (0=No, 1=Yes) PTL = History of premature labor (0=None, 1=One, etc.) HT = History of hypertension (0=No, 1=Yes) UI = Presence of uterine irritability (0=No, 1=Yes) FTV = Number of physician visits during the first trimester BWT = The actual birth weight (in grams) (a)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
