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.
This exercise is part of the course
Inference for Categorical Data in R
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# 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