Baby Dataset 6: Cumulative Statistical Reasoning Project

Setup

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

Project Goal

In this project, you will use the Baby Dataset to answer a broad research question:

What factors are associated with birth weight?

You will not simply run one statistical test. Instead, you will use several analyses to build a careful, evidence-based interpretation.

Required Skills

Your project should show that you can:

Dataset Reminder

Variable Meaning
bwt Baby’s birth weight in ounces
gestation Length of pregnancy in days
par_bi 0 = first-time mother, 1 = has given birth before
age Mother’s age in years
age_group 1 = teens, 2 = 20s, 3 = 30s+
height Mother’s height in inches
weight Mother’s weight in pounds
smoke 0 = did not smoke during pregnancy, 1 = smoked during pregnancy

Part 0: Pre-Analysis Plan

Complete this section BEFORE opening R or running any code. Once you have seen the data or output, this step cannot be done honestly.

Professional researchers often register their hypotheses and analysis plans before collecting or analyzing data — a practice called pre-registration. It prevents a common bias called HARKing (Hypothesizing After Results are Known): reporting a finding as if it were predicted when it was actually discovered after looking at the data. This project asks you to do a lightweight version of the same thing.

Below, write your predictions in advance. There are no right or wrong answers — you are graded on whether you made genuine, reasoned predictions, not on whether they turn out to be correct.


P1. Gestation and birth weight

  1. Do you expect longer gestation to be associated with higher or lower birth weight? Explain your reasoning in one sentence.
  2. Do you expect the association to be weak, moderate, or strong? Why?

P2. Smoking status and birth weight

  1. Do you expect smoking to be associated with higher or lower birth weight (or no difference)? Explain.
  2. Do you expect the effect to be small, medium, or large by Cohen’s conventions?

P3. Maternal age group and birth weight

  1. Do you expect birth weight to differ across teen, 20s, and 30s+ mothers? In what direction, if any?
  2. Which age group do you predict will have the highest mean birth weight?

P4. Multiple regression

  1. Which single predictor do you think will account for the most variance in birth weight once all predictors are in the model together? Explain your reasoning.
  2. Do you expect smoking to remain a significant predictor when gestation length is also in the model? Why or why not?

P5. Reflection (complete AFTER you have run the analyses)

Come back to this section after finishing Parts 1–5 and answer:

  1. Which of your predictions were correct? Which were wrong?
  2. If you had seen the data first, do you think you might have “predicted” a different outcome? What does this tell you about why pre-registration matters in research?

Part 1: Understand the Dataset

  1. Load and clean the dataset using the standard setup.
  2. Inspect the variables with str() and summary().
  3. Create at least two visualizations.
  4. Report descriptive statistics for birth weight (mean, SD, range).
  5. Identify one possible outlier or unusual pattern.

Part 2: Relationship Between Gestation and Birth Weight

Use correlation or simple linear regression.

Report:

Part 3: Smoking Status and Birth Weight

Use an independent-samples Welch t-test.

Report:

Part 4: Maternal Age Group and Birth Weight

Use one-way ANOVA.

Report:

Part 5: Multiple Regression

Recommended model:

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

Report:

Final Scientific Summary

Write a final summary paragraph that includes:

  1. The broad research question.
  2. The most important descriptive pattern.
  3. The result for gestation and birth weight (with effect size).
  4. The result for smoking and birth weight (with Cohen’s d).
  5. The result for maternal age group and birth weight (with η²).
  6. The result of the multiple regression model (with R²).
  7. One clear statement about limitations.
  8. One suggestion for future research.

Submission Checklist

Before submitting, confirm you included: