MulaiMulai sekarang secara gratis

Generating via bootstrap

To assess your uncertainty in this estimate of the number of people that have "High" confidence in the scientific community, you need to calculate the standard error. Start by considering how different the data might look in just a single bootstrap sample.

Latihan ini adalah bagian dari kursus

Inference for Categorical Data in R

Lihat Kursus

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# Load the infer package
___

# Create single bootstrap dataset
boot1 <- gss2016 %>%
  # Specify the response
  ___(response = ___, success = "___") %>%
  # Generate one bootstrap replicate
  ___(reps = ___, type = "___")

# See the result
boot1
Edit dan Jalankan Kode