Skip to content

Collation of Intro R material, R for STEPH, R for SME, and R for ASME - 2022

Notifications You must be signed in to change notification settings

danieljcarter/r4lshtm

Repository files navigation

r4lshtm

Welcome to R for LSHTM, 2022 edition.

This repository collates all of the practical sessions from the statistical course sequence at LSHTM: STEPH, SME, and ASME. Datasets are presently not confirmed to be publicly available, but are available on Moodle for LSHTM staff and students - I am working on clarifying dataset availability or replacing with a simulated dataset for those based outside of LSHTM.

This material is constantly being updated and should be complete by the end of the 2021-2022 academic year. If you are working with these files and notice any changes that need to be made, or if you wish to add R files for any other courses at LSHTM, please do make a pull request.

Big shoutout to Andrea Mazzella & the MSc Epi 2018/19 cohort for making this possible!

The mapping of sessions is as follows:

Course Filename Session Number 2022 Session Title 2022
STEPH prac01_means Session 6/7 Comparing two means in Stata / Non-parametric methods
prac02_categorical Session 9 Categorical variables
prac03_strat2x2 Session 10 Stratified analysis of 2x2 tables
prac04_linreg Session 12 Simple regression
prac05_extlinreg Session 13 Multivariable regression
tbd Session 14 Estimation in sample surveys
tbd Session 15 Power & sample size
-------- ---------- ----------- -------
SME prac01_survival
prac02_case-control
prac03_logistic
prac04_logistic-covariates
-------- ---------- ----------- -------
Social Epi prac01_medconf Session 15 Mediation & Confounding
prac02_pca Session 20 Principal component analysis
-------- ---------- ----------- -------
ASME prac01_classical Session 1 Self-directed exercises
prac02_logistic Session 2 Review of logistic regression
prac03_matched Session 3 Matched case-control studies
prac04_time Session 5 Stratifying on time?
prac05_poisson Session 6 Poisson regression
prac06_cox. Session 7 Cox regression

The datasets required to work through these are presently available on the SME & ASME course pages:

  • bab9.dta
  • diabraz17.dta
  • diabraz217.dta
  • mortality17.dta
  • mwanza17.dta
  • trinmlsh.dta
  • whitehall17.dta
  • pbc1bas.dta

About

Collation of Intro R material, R for STEPH, R for SME, and R for ASME - 2022

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages