IniziaInizia 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.

Questo esercizio fa parte del corso

Inference for Categorical Data in R

Visualizza il corso

Esercizio pratico interattivo

Prova a risolvere questo esercizio completando il codice di esempio.

# 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
Modifica ed esegui il codice