I am trying to draw a simple random sample without replacement. I have 6 variables in my dataset including, Region, Department, Village, School, School ID and Number of School Members. I want to select one observation (school) per village in my sample. While I am able to obtain a sample, I am not able to use seed to draw the same sample every time. Can someone help me rectify the problem?
Here is the command I am using:
sort Villages
set seed 7654
by Villages: sample 1, count
Here is the command I am using:
sort Villages
set seed 7654
by Villages: sample 1, count
Comment