8 Concluding remarks

This paper has outlined the appropriate steps to import, prepare and analyze datasets from CLSA using R, SAS, SPSS and Stata. The data manipulation and analysis codes described in the paper can be applied to other datasets from surveys with a sampling scheme similar to the CLSA. From the comparisons presented in the paper, we see that R provides accurate and reliable estimates and standard errors as an attractive statistical package.

This paper highlights the comparison of the codes between R and other commercial statistical packages for different statistical procedures. The survey packages in R provides most of the procedures in which health policy researchers are interested. Compared to other packages, R is easy to use, flexible and open-source. We recommend that health researchers choose R as one of the statistical packages for data analyses.

This paper can also serve as a guide for the health policy analysts who can check the corresponding codes for {preforming and replicating } various statistical analyses with different statistical packages. This paper would be part of the groundwork for health-care survey administration organizations to include instructions and sample R codes in their technical documentation.