![]() |
PING
0.9
Statistical data handling and processing in production environment
|
Run variance estimation using the SAS PROC SURVEYFREQ procedure for proportional 0/1 indicator.
idsn : the name of the input dataset in the work directory; default: not set;yr : the year for which the variance estimation is made;cty_var : the name of the column in the input dataset which contains the country codes;strt : the name of the column in the input dataset which contains the starta information;clstr : the name of the column in the input dataset which contains the cluster information;wght : the name of the column in the input dataset which contains the weight information;prp_ind : the name of the column in the input dataset which contains the indicator variable which contains 0 or 1;bdown : the name of the column in the input dataset which contains the breakdown variable;ilib : (option) input library; default: ilib is set to WORK.odsn : a string which is inserted in the starndard output datasets name;odsn : a generic string used for the naming of output datasets; namely, the following datasets are created:result_&odsn_bdown : output dataset containig the year, the country, the value 1 (as the value where the indicator takes the value 1), the unique value of the breakdown variable, the value of the indicator, the standard error and the 95% confidence interval;result_&odsn_total : output dataset containig the year, the country, the value 1 (as the value where the indicator takes the value 1), the value of the indicator, the standard error and the 95% confidence interval;olib : (option) output library; default: olib is set to WORK.Run for instance: