![]() |
PING
0.9
Statistical data handling and processing in production environment
|
Run a standard error estimation for changes between time T0 and T1 in cross-sectional estimators using the multivariate regression approach for a proportional 0/1 indicator.
idsn0 : the name of the input dataset at T0 in the work directory; it is the outdata_&odsn output dataset of the var_est_mvrg macro;yr0 : the year at time T0 for which the variance previously calculated by the var_est_mvrg macro;idsn1 : the name of the input dataset at T1 in the work directory; it is the outdata_&odsn output dataset of the var_est_mvrg macro;yr1 : the year at time T1 for which the variance previously calculated by the var_est_mvrg macro;cty_var : the name of the column in the input datasets which contains the country codes;strt : the name of the column in the input datasets which contains the starta information;clstr : the name of the column in the input datasets which contains the cluster/PSU information;prp_ind : the name of the column in the input datasets which contains the indicator variable which contains 0 or 1;ilib : (option) input library where both datasets idsn0 and idsn1 must be stored; default: ilib is set to WORK.odsn : name of the output dataset containig the country code, the indicator value at time T0, at time T1, and the standard error of the net change;olib : (option) output library; default: olib is set to WORK.Run for instance: ~~~sas var_mvrg_cmpr(idsn0=outdata_mvrgt0, yr0=2014, idsn1=outdata_mvrgt1, yr1=2015, odsn=arope_comparison, cty_var=DB020, strt=DB050, clstr=DB030, prp_ind=arope); ~~~
The macro %var_mvrg_cmpr uses the implementation of variance estimation developed within the context of NET-SILC2 by [Osier et al, 2013] following the original algorithm of [Berger and Priam, 2010 and 2016].