-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.Rmd
95 lines (72 loc) · 4.05 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
93
94
95
---
title: "R Guide for TMLE in Medical Research"
author: "Ehsan Karim & Hanna Frank"
date: "`r Sys.Date()`"
site: bookdown::bookdown_site
output:
bookdown::html_document2:
includes:
in_header: header.html
css: [style.css]
bookdown::gitbook:
includes:
in_header: header.html
bookdown::pdf_book:
includes:
in_header: header.html
documentclass: book
bibliography: [book.bib, packages.bib]
biblio-style: apalike
link-citations: yes
github-repo: ehsanx/intro2R
description: "Intro to R."
header-includes:
- \usepackage{tcolorbox}
- \newtcolorbox{blackbox}{colback=black,colframe=orange,coltext=white,boxsep=5pt,arc=4pt}
- \usepackage{color}
- \usepackage{framed}
- \setlength{\fboxsep}{.8em}
---
\newenvironment{blackbox}{
\definecolor{shadecolor}{rgb}{0, 0, 0} % black
\color{white}
\begin{shaded}}
{\end{shaded}}
# Preface {-}
## Background {-}
In comparative effectiveness studies, researchers typically use propensity score methods. However, propensity score methods have known limitations in real-world scenarios, when the true data generating mechanism is unknown. **Targeted maximum likelihood estimation** (TMLE) is an alternative estimation method with a number of desirable statistical properties. It is a doubly robust method, making use of both the outcome model and propensity score model to generate an unbiased estimate as long as at least one of the models is correctly specified. TMLE also enables the integration of machine learning approaches. Despite the fact that this method has been shown to perform better than propensity score methods in a variety of scenarios, it is **not widely used in medical research** as the implementation details of this approach are generally not well understood.
## Goal {-}
In this workshop we will present an introductory tutorial explaining an overview of
- TMLE and
- some of the relevant methods
- G-computation and
- IPW
using one real epidemiological data,
- the steps to use the methods in R, and
- a demonstration of relevant R packages.
## Philosophy {-}
**Code-first** philosophy is adopted for this workshop; demonstrating the **analyses through one real data analysis** problem used in the literature.
- This workshop is not theory-focused, nor utilizes simulated data to explain the ideas. Given the focus on implementation, theory is beyond the scope of this workshop.
- At the end of the workshop, we will provide key references where the theories are well explained.
## Pre-requisites {-}
- Basic understanding of *R* language is required.
- A general understanding of *multiple regression* is expected.
- Familiarity with *machine learning* and *epidemiological* core concepts would be helpful, but not required.
- Deep understanding of *causal inference* or *advanced statistical inference* knowledge is not expected.
## Version history {-}
The workshop was first developed for [R/Medicine
Virtual Conference](https://r-medicine.org/schedule/) 2021, August 24th; title: `An Introductory R Guide for Targeted Maximum Likelihood Estimation in Medical Research'.
Feel free to [reach out](https://ehsank.com/) for any comments, corrections, suggestions.
## Contributor list {-}
|||
|---|---|
| [Hanna Frank](https://www.linkedin.com/in/hanna-f-940813b9/) (SPPH, UBC) | [Ehsan Karim](https://ehsank.com/) (SPPH, UBC) |
## 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 and Frank, H (2021) "R Guide for TMLE in Medical Research", URL: [ehsanx.github.io/TMLEworkshop/](https://ehsanx.github.io/TMLEworkshop/), (v1.1). Zenodo. https://doi.org/10.5281/zenodo.5246085
```