lundi 4 décembre 2017

stratified sampling with fixed proportions of observation types in R

I have a sample where 50% of the observations are White and 50% African-American.

I would like to obtain a random subsample where such proportion is modified to 80% White and 20% African-American.

I have tried the command stratified but I could not find an option allowing me to allocate shares to the stratifying criterion.

Thank you in advance for your help!




Aucun commentaire:

Enregistrer un commentaire