Slides, Data, and Code for introduction to SAS course.

The workshop uses data from the Canadian Community Health Survey (CCHS) 2011-2012 extracted from CHASS at the University of Toronto. I extracted census geography, social, demographic, and height and weight data.

Description of the CCHS from ODESI:

The Canadian Community Health Survey (CCHS) is a cross-sectional survey that collects information related to health status, health care utilization and health determinants for the Canadian population. It surveys a large sample of respondents and is designed to provide reliable estimates at the health region level. In 2007, major changes were made to the CCHS design. Data is now collected on an ongoing basis with annual releases, rather than every two years as was the case prior to 2007. The survey’s objectives were also revised and are as follows:

• support health surveillance programs by providing health data at the national, provincial and intra-provincial levels;
• provide a single data source for health research on small populations and rare characteristics;
• timely release of information easily accessible to a diverse community of users; and
• create a flexible survey instrument that includes a rapid response option to address emerging issues related to the health of the population.

The CCHS data is always collected from persons aged 12 and over living in private dwellings in the 115 health regions covering all provinces and territories. Excluded from the sampling frame are individuals living on Indian Reserves and on Crown Lands, institutional residents, full-time members of the Canadian Forces, and residents of certain remote regions. The CCHS covers approximately 98% of the Canadian population aged 12 and over.

Workshop material

  • Slides: Download (Filename: SAS_Training_Slides.pptx)
  • Data Dictionary: Download (Filename: CCHS_2012_Codebook.pdf)
  • Data: Download (Filename: CCHS_2012.csv)
  • Code:
    • SAS File Download (Filename: SAS_Training_Code_Complete.sas)
    • Text File Download (Filename: SAS_Training_Code_Complete.txt)

Active Living Research 2014: Introduction to Causal Modelling Workshop

 

This workshop will introduce causal modelling methods (e.g., difference in differences, interrupted time series, regression discontinuity) to active living researchers. Using hands on data analysis of published literature participants will learn difference in differences and interrupted time series methods applied to active living research projects. A short introductory presentation will introduce the concepts of causal modelling approaches give examples of their application. Participants should be familiar with at least one statistical package syntax (SPSS, Stata, SAS, R or other). The workshop will use the statistical package R. Please follow the instructions below to install R, and Rstudio prior to the workshop.

Example 1: Interrupted time series

Example 2: Difference in Differences

 

Slides, Data, and Code for introduction to R workshop.

The workshop uses data from two sources.

  1. The Canadian Community Health Survey (CCHS) 2011-2012 extracted from CHASS at the University of Toronto.
    1. Description of the CCHS from ODESI: The Canadian Community Health Survey (CCHS) is a cross-sectional survey that collects information related to health status, health care utilization and health determinants for the Canadian population. It surveys a large sample of respondents and is designed to provide reliable estimates at the health region level. In 2007, major changes were made to the CCHS design. Data is now collected on an ongoing basis with annual releases, rather than every two years as was the case prior to 2007.
  2. A simulated dataset that I generated based on the results from:

Workshop material

  • Slides: Download (Filename: SAS_Training_Slides.pptx)
  • Data Dictionary: Download (Filename: CCHS_2012_Codebook.pdf)
  • Data:
  • Code: HTML or PDF File