-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.Rmd
93 lines (69 loc) · 3.4 KB
/
index.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
---
title: "Survey Data: Design and Examples"
author: "M. Ehsan Karim"
date: "`r Sys.Date()`"
knit: "bookdown::preview_chapter"
site: "bookdown::bookdown_site"
link-citations: yes
output:
bookdown::gitbook:
highlight: tango
split_by: chapter
split_bib: no
bookdown::html_book:
theme: simplex
msmbstyle::msmb_html_book:
highlight: tango
toc: TRUE
toc_depth: 1
split_by: chapter
split_bib: no
margin_references: FALSE
documentclass: book
bibliography: [book.bib]
always_allow_html: true
biblio-style: apalike
github-repo: ehsanx/504007-SurveyData
description: "This second level course will teach research trainees to apply methods taught in prior courses towards the development of a fundable research protocol and the analysis and interpretation of real epidemiologic data."
---
```{r setup2, include=FALSE}
# library(tufte)
# library(msmbstyle)
# knitr::opts_chunk$set(tidy = FALSE, cache.extra = packageVersion('msmbstyle'))
# options(htmltools.dir.version = FALSE)
# options(knitr.duplicate.label = "allow")
```
# Preamble {-}
## Description {-}
Surveys are designed to gather and assess national level health-related information. Usually governments collect these data, and make some effort to publish a version of the data for researchers to use. In this document, we will talk about various survey designs, some examples, how to download some of these data sources from Canadian and US sources. An example is included at the end regarding how to reproduce results from a paper that used one of these open data sources.
## Outline {-}
- Review of Model-based Approach
- Introduction to Design-based Approach
- Complex survey design examples
- Canadian Community Health Survey - Annual Component (CCHS)
- Data import to R
- National Health and Nutrition Examination Survey (NHANES)
- Understanding NHANES data and documentation structure
- Data import to R
- Reproducing results from an article
### Version history {-}
Materials were updated over time through various deliveries of the content:
- Teaching materials for SPPH 504-007 (till 2021)
- Teaching materials for SPPH 604 (2022-)
## Prerequisites {-}
The prerequisites are knowledge of basic probability. Software demonstrations and codes will be provided in R, although proficiency in R is not required for understanding the concepts. If you are not familiar with R, and want to gain further understanding, I would suggest the following tutorial.
```{block, type='rmdcomment'}
**R tutorial**
Karim ME, Hoang A and Qu Y "Introduction to R for health data analysis" URL: [ehsanx.github.io/intro2R/](https://ehsanx.github.io/intro2R/)
```
### License {-}
```{r, echo=FALSE, out.width="25%"}
knitr::include_graphics("images/by-nc-sa.png")
```
The online version of this book is licensed under the [Creative Commons Attribution-NonCommercial-ShareAlike 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/) International License. You may share, adapt the content and may distribute your contributions under the same license (CC BY-NC-SA 4.0), but you have to give appropriate credit, and cannot use material for the commercial purposes.
```{block, type='rmdcomment'}
**How to cite**
Karim, ME (2022) "Survey Data: Design and Examples", URL: [ehsanx.github.io/SPPH504007SurveyData](https://ehsanx.github.io/SPPH504007SurveyData/docs/)
```
### Comments {-}
For any comments regarding this document, reach out to [me](http://ehsank.com/).