Are you sure about that?

Lab 3D

Directions: Follow along with the slides, completing the questions in blue on your computer, and answering the questions in red in your journal.

Space, Click, Right Arrow or swipe left to move to the next slide.

Confidence and intervals

In this lab

What is the mean age of people older than 15 living in the United States?

One bootstrap

Our first bootstrap

bs_rows <- ____(1:____, size = ____, replace = ____)
bs_atus <- slice(atus, bs_rows)

Take a look

One strap, two strap

Many bootstraps

Bootstrap function

bs_func <- function() {

Visualizing our bootstraps

bs_means <- do(____) * bs_func()

Bootstrapped confidence intervals

The lowest 5% of our estimates are below _______ years and the highest 5% of our estimates are above_______ years.

On your own