Baby Dataset 5: Multiple Regression

Setup

Run the standard setup from the Student Overview before starting this assignment.

Research Question

Do gestation length, maternal age, maternal weight, smoking status, and previous birth history together help predict a baby’s birth weight?

Variables

Variable Meaning Type
bwt Baby’s birth weight in ounces Quantitative outcome
gestation Length of pregnancy in days Quantitative predictor
age Mother’s age in years Quantitative predictor
weight Mother’s weight in pounds Quantitative predictor
smoke Smoking status; 0 = no, 1 = yes Categorical predictor
par_bi Previous birth history; 0 = first-time mother, 1 = has given birth before Categorical predictor

Decision Point 1: Why Multiple Regression?

  1. What is the outcome variable?
  2. Which variables are possible predictors?
  3. Why would several separate t-tests or correlations be incomplete?
  4. What does multiple regression allow us to ask that simple regression does not?

Visualize First

par(mfrow = c(2, 2))

plot(babies$gestation, babies$bwt,
     xlab = "Gestation Length (days)",
     ylab = "Birth Weight (ounces)",
     main = "Gestation and Birth Weight",
     pch = 16)

plot(babies$weight, babies$bwt,
     xlab = "Maternal Weight (pounds)",
     ylab = "Birth Weight (ounces)",
     main = "Maternal Weight and Birth Weight",
     pch = 16)

boxplot(bwt ~ smoke_bi, data = babies,
        names = c("Non-smoker", "Smoker"),
        ylab = "Birth Weight (ounces)",
        main = "Smoking Status")

boxplot(bwt ~ par_bi, data = babies,
        names = c("First-time", "Previous Birth"),
        ylab = "Birth Weight (ounces)",
        main = "Parity")

par(mfrow = c(1, 1))

Decision Point 2: What Does “Holding Other Variables Constant” Mean?

Multiple regression estimates the association between each predictor and the outcome while statistically controlling for the other predictors in the model.

  1. What does it mean to estimate the effect of smoking while holding gestation, age, weight, and parity constant?
  2. Why might the smoking effect change after controlling for gestation?
  3. Why is “holding constant” not the same as proving causation?

Run the Multiple Regression Model

model_multi <- lm(bwt ~ gestation + age + weight + smoke_bi + par_bi,
                  data = babies)
summary(model_multi)

Interpret the Overall Model

R² and adjusted R² are the effect sizes for multiple regression. R² is reported regardless of whether the overall model is statistically significant.

Output value Value
F statistic
Model p-value
R²
Adjusted R²
Effect size interpretation (small ≈ .01, medium ≈ .09, large ≈ .25)

Interpret Individual Predictors

Predictor Estimate (b) p-value Interpretation
Gestation
Maternal age
Maternal weight
Smoking status
Parity

Check Assumptions

par(mfrow = c(2, 2))
plot(model_multi)
par(mfrow = c(1, 1))

cooks_d <- cooks.distance(model_multi)
plot(cooks_d, type = "h",
     main = "Cook's Distance",
     ylab = "Cook's D")
abline(h = 4 / nrow(na.omit(babies[, c("bwt","gestation","age","weight","smoke_bi","par_bi")])),
       lty = 2)

Scientific Report

A multiple regression was used to predict birth weight from gestation length, maternal age, maternal weight, smoking status, and parity. The overall model was [significant / not significant], F(____, ____) = ____, p = ____, R² = ____, adjusted R² = ____, indicating a [small / medium / large] effect. Gestation was a [significant / non-significant] predictor, b = ____, p = ____, indicating that each additional day of gestation was associated with a predicted ____ ounce change in birth weight, holding the other predictors constant. Smoking status was [significant / non-significant], b = ____, p = ____, indicating that babies whose mothers smoked were predicted to weigh ____ ounces [less / more] than babies whose mothers did not smoke, holding other predictors constant.

Reflection

  1. What did multiple regression add beyond the earlier t-test, ANOVA, and simple regression?
  2. Did controlling for other variables change your interpretation of the smoking effect?
  3. Why is multiple regression useful for observational data?
  4. Why does multiple regression still not automatically prove causation?