You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 1RHC.Rmd
+16-4Lines changed: 16 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -168,7 +168,7 @@ We also conduct propensity score pair matching analysis, as follows.
168
168
169
169
**Note**: In this workshop, we will not cover Propensity Score Matching (PSM) in this workshop. If you want to learn more about this, feel free to check out this other workshop: [Understanding Propensity Score Matching](https://ehsanx.github.io/psw/).
We also find the same conclusion based on propensity score pair matched data.
222
+
- Hence, we also find the same conclusion based on propensity score pair matched data.
223
+
- We can also estimate the effect of `RHC` on `length of stay` using propensity score-matched sample:
224
+
225
+
```{r ps12ryy, cache=TRUE, echo = TRUE}
226
+
fit.matched <- glm(Y~A,
227
+
family=gaussian,
228
+
data = matched.data)
229
+
publish(fit.matched)
230
+
```
231
+
232
+
```{r, cache=TRUE, echo = TRUE}
233
+
saveRDS(fit.matched, file = "data/match.RDS")
234
+
```
223
235
224
236
### TMLE in RHC data
225
237
226
-
There are other papers that have used RHC data [@keele2021comparing;@keele2018pre]. Particularly, @keele2021comparing used TMLE method in estimating the impact of RHC on length of stay, and found point estimate $2.01 (95\% CI: 0.6-3.41)$. In today's workshop, we will learn about TMLE method.
238
+
There are other papers that have used RHC data [@keele2021comparing;@keele2018pre]. Particularly, @keele2021comparing used TMLE (with super learner) method in estimating the impact of RHC on length of stay, and found point estimate $2.01 (95\% CI: 0.6-3.41)$. In today's workshop, we will learn about TMLE method.
0 commit comments