Random Sampling

Lab 3C

Directions: Follow along with the slides and answer the questions in red font in your journal.

Learning by sampling

Loading a population

s1 <- slice(____, 1:____)

Comparing your convenience sample

Using randomness

___ <- sample(___, size = ___, replace = ___)

Increasing sample size

Lessons learned