Shiny WebApps
Visualization
Sample Size calculator
Teaching by example
-
Marginal structural models (2 time-points, binary outcome) visual demo
-
Marginal structural models (2 time-points) visual demo
-
Inverse probability weights visual demo
-
Propensity scores visual demo
Stata
Simulation algorithm
-
genMSM: Stata package for generating survival data suitable for fitting longitudinal Marginal Structural Cox Models
R
Simulation algorithm
-
simMSM: R package for generating survival data suitable for fitting longitudinal Marginal Structural Cox Models
-
Setoguchi simulation algorithm from 2008 PDS paper
-
iptw: R package for implementing standardization and inverse probability weights (point treatment)
Complex Survey Data Analysis
RMarkdown
Kaggle Kernel R Notebooks
-
Accessing NHANES Data Directly from CDC website
-
NHANES Complex Survey Data Analysis
-
NHANES data regression summary
-
Propensity score matching on NHANES
Python
Notebooks
Reserved for collaborators and students: authentication required for access.
Web-tutorials
- Tutorial on Bayesian computation using Stan:
Youtube
- Tutorial on RMarkdown:
Youtube
External helpful resources
The following are not my work, just the resources that I found useful.