Comece agoraComece grátis

Stratified designs in R

Now let's practice specifying a stratified sampling design, using the dataset apistrat. The schools are stratified based on the school type stype where E = Elementary, M = Middle, and H = High School. For each school type, a simple random sample of schools was taken.

Este exercicio faz parte do curso

Analyzing Survey Data in R

Ver curso

exercicio interativo prático

Tente este exercicio completando este código de exemplo.

# Glimpse the data
glimpse(___)
Editar e Executar Código