
The archive contains the files required to select samples and calculate the estimates presented in the article:  

DATASET
- Data2stCCS.csv: interest variables required to select samples and calculate the estimates in the article.

SELECTION
- cross-classified sampling with R: csbigs_CodeR_selectionCCS.r
- two-stage sampling with R: csbigs_CodeR_selection2d.r
- cross-classified sampling with SAS: csbigs_codeSAS_selectionCCS.sas
- two-stage sampling with SAS: csbigs_codeSAS_selection2d.sas
- cross-classified sampling with Stata: csbigs_CodeSTATA_selectionCCS.do
- two-stage sampling with Stata: csbigs_CodeSTATA_selection2d.do

ESTIMATION
- cross-classified sampling with R: csbigs_CodeR_estimationCCS.r
- two-stage sampling with R: csbigs_CodeR_estimation2d.r
- two-stage sampling with SAS: csbigs_codeSAS_estimation2d.sas
- two-stage sampling with Stata: csbigs_CodeSTATA_estimation2d.do


SIMULATIONS
- csbigs_CodeR_simu_Results.r: this file presents 3 steps
	1) compilation of the file "csbigs_CodeR_simu_functions.r",
	2) reading data from the file "Data2stCCS.csv",
	3) Simulation results.
- csbigs_CodeR_simu_functions.r: functions called in "csbigs_CodeR_simu_Results.r".
The reader can open the file "csbigs_CodeR_simu_Results.r" and follow the 3 steps.
