BaşlayınÜcretsiz Başlayın

Test for average weight of babies

We'll wrap up inference on a single parameter of a numerical distribution by revisiting the ncbirths dataset, specifically the weight variable, indicating the birth weight of the baby. Do these data provide convincing evidence that the average birth weight of babies born in North Carolina is different than 7 pounds?

Bu egzersiz

Inference for Numerical Data in R

kursunun bir parçasıdır
Kursu Görüntüle

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

n_replicates <- 1500

weight_mean_ht <- ncbirths %>%
  # Specify weight as the response
  ___ %>%
  # Set the hypothesis that weights are 7 pounds
  ___ %>% 
  # Generate 1500 bootstrap replicates
  ___ %>% 
  # Calculate the mean
  ___
Kodu Düzenle ve Çalıştır