Session Ready
Exercise

Designs in R

In the next few exercises we will practice specifying sampling designs using different samples from the api dataset, located in the survey package. The api dataset contains the Academic Performance Index and demographic information for schools in California. The apisrs dataset is a simple random sample of schools from the api dataset. Let's specify its design!

Instructions 1/3
undefined XP
  • 1
  • 2
  • 3
  • Use glimpse() to look at the apisrs dataset. Notice that pw contains the survey weights and fpc contains the total number of schools in the population.