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.
Deze oefening maakt deel uit van de cursus
Inference for Categorical Data in R
Praktische interactieve oefening
Probeer deze oefening eens door deze voorbeeldcode in te vullen.
# 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