Get startedGet started for free

Choosing a bootstrap method

We can also use the standard error method by changing the boot_method argument.

This exercise is part of the course

Data Analysis and Statistical Inference

View Course

Exercise instructions

Change the boot_method argument to "se" and run the code.

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# The nc data frame and the inference() function are already loaded into the workspace

# Adapt the inference() function:
inference(nc$gained, type = "ci", method = "simulation", conflevel = 0.95, est = "mean", boot_method = "perc")
Edit and Run Code