Mulai sekarangMulai gratis

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.

Latihan ini merupakan bagian dari kursus

Analyzing Survey Data in R

Lihat Kursus

Latihan interaktif langsung praktik

Cobalah latihan ini dengan melengkapi kode contoh ini.

# Glimpse the data
glimpse(___)
Edit dan Jalankan Kode