![]() |
PING
0.9
Statistical data handling and processing in production environment
|
Create the static conditions that can be used in the macro %var_est_data_prep for the different sampling techniques.
smpl
: 3 character length string defining the sampling techniques:srs
- simple random sampling,sos
- stratified one-stage sampling,sts
- stratified two-stage sampling;cty_var
: the name of the column in the input dataset which contains the country codes;wght_var
: the name of the column in the input dataset which contains the weight information;strt_var
: the name of the column in the input dataset which contains the strata information for the sos
and sts
sampling;srs_sos_clstr_var
: the name of the column in the input dataset which contains the cluster information for the srs
and sos
sampling;sts_clstr_var
: the name of the column in the input dataset which contains the cluster information for the sts
sampling.A string containing the correct variables as strata and cluster for the list of countries based on the sampling type.
Run for instance: