Is there a way to change and manipulate the proportion of a variable in SAS in random sampling?
Lets say that I have table consisting 1000 people. (500 male and 500 female)
If I want to have a random sample of 100 with gender strata - I will have 50 males and 50 females in my output.
I want to learn if there is a way to have the desired proportion of gender values?
Can ı have a random sample of 100 with 70 males and 30 females ?
Aucun commentaire:
Enregistrer un commentaire