Lab 7 Answers
Lab 7 Answers
Lab 7 Answers
Logistic Regression
Logistic Regression
1. Is low birth weight associated with mother’s smoking status during pregnancy after
accounting for gestational age?
EXPLORATORY ANALYSIS
First construct contingency tables for each categorical explanatory variable and the outcome variable
Chi-Square Tests
Value df Asymp. Sig. (2- Exact Sig. (2- Exact Sig. (1-
sided) sided) sided)
Pearson Chi-Square 3.197a 1 .074
Continuity Correction b 2.590 1 .108
Likelihood Ratio 2.877 1 .090
Fisher's Exact Test .105 .059
1
PH 750 Fundamentals of Biostatistics
Summary statistics:
% low birth weight infants for mothers who smoked during pregnancy: 13.2%
% low birth weight infants for mothers who did not smoke during pregnancy: 8.0%,
629∗15
χ²=3.20, df=1, p=0.074, unadjusted OR= =1.73
99∗55
The odds of low birth weight infants are 1.73 times higher among mothers who smoked during pregnancy
as compared to those who did not smoke. This difference is marginally significant (p=0.074)
Note: as part of exploratory analysis you may also assess the relationship between any continuous
explanatory variables and the outcome using the independent samples t-test (not shown here).
Logistic regression:
ANALYZE →REGRESSION →BINARY LOGISTIC
Lower Upper
2
PH 750 Fundamentals of Biostatistics
Interpretation: The odds of low birth weight babies are 1.96 times higher among mothers who smoked
during pregnancy as compared to those who did not smoke, after adjusting for gestational age
(CI for OR (.93, 4.11)), this association is only marginally significant (p=.075).
2. Is low birth weight associated with mother’s ethnicity, after accounting for gestational
age, mother’s age and smoking status during pregnancy?
Note: ‘Other’ ethnicity category was excluded because of the small sample size in that group
Select Non-Hispanic White, Non-Hispanic Black, Hispanic mothers for the analysis:
3
PH 750 Fundamentals of Biostatistics
Click on Continue>OK
Note that there is a new variable in the dataset called filter_$, which indicates which cases satisfy the
condition (here indicating all Non Hispanic White, Non Hispanic Black and Hispanic mothers in the
dataset)
Under Categorical move ethnmom into the Categorical Covariates box and select First to indicate that
Non Hispanic White mothers are the reference category
4
PH 750 Fundamentals of Biostatistics
(1) (2)
Non-Hispanic White 523 .000 .000
Ethnicity Non-Hispanic Black 168 1.000 .000
Hispanic 82 .000 1.000
Sample size for this analysis:
Lower Upper
5
PH 750 Fundamentals of Biostatistics
ADJUSTED ANALYSIS
Under Categorical move ethnmom into the Categorical Covariates box and select First to indicate that
Non Hispanic White mothers are the reference category
There are no statistically significant differences in the probability of having low birth weight babies
between Non-Hispanic Black mothers vs. Non-Hispanic Black mothers (p=.210) and Hispanic vs. Non-
Hispanic White mothers (p=.664), after adjusting for gestational age, mother’s age and smoking during
pregnancy.