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
@connors1996effectiveness conducted a propensity score matching analysis. Table 5 in @connors1996effectiveness showed that, after propensity score pair (1-to-1) matching, means of length of stay ($Y$), when stratified by RHC ($A$) was significantly different.
180
+
```{block, type='rmdcomment'}
181
+
@connors1996effectiveness conducted a propensity score matching analysis.
182
+
```
183
+
184
+
Table 5 in @connors1996effectiveness showed that, after propensity score pair (1-to-1) matching, means of length of stay ($Y$), when stratified by RHC ($A$) were not significantly different ($p = 0.14$).
167
185
168
186
### PSM in RHC data
169
187
170
188
We also conduct propensity score pair matching analysis, as follows.
171
189
190
+
```{block, type='rmdcomment'}
172
191
**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/).
The love plot suggests satisfactory propensity score matching (all SMD < 0.1).
213
236
214
237
#### PSM results
215
238
216
239
```{r ps3, cache=TRUE, echo = TRUE}
217
-
matched.data <- match.data(match.obj)
240
+
matched.data <- match.data(match.obj)
218
241
tab1y <- CreateTableOne(vars = c("Y"),
219
242
data = matched.data, strata = "A",
220
243
test = TRUE)
221
244
print(tab1y, showAllLevels = FALSE,
222
245
test = TRUE)
223
246
```
224
247
225
-
- Hence, we also find the same conclusion based on propensity score pair matched data.
248
+
```{block, type='rmdcomment'}
249
+
Hence, our conclusion based on propensity score pair matched data ($p \lt 0.001$) is different than Table 5 in @connors1996effectiveness ($p = 0.14$). Variability in results for 1-to-1 matching is possible, and modelling choices may be different (we used caliper option here).
250
+
```
251
+
226
252
- We can also estimate the effect of `RHC` on `length of stay` using propensity score-matched sample:
227
253
228
254
```{r ps12ryy, cache=TRUE, echo = TRUE}
229
255
fit.matched <- glm(Y~A,
230
-
family=gaussian,
231
-
data = matched.data)
256
+
family=gaussian,
257
+
data = matched.data)
232
258
publish(fit.matched)
233
259
```
234
260
235
261
```{r, cache=TRUE, echo = TRUE}
236
-
saveRDS(fit.matched, file = "data/match.RDS")
262
+
saveRDS(fit.matched, file = "data/match.RDS")
237
263
```
238
264
239
265
### TMLE in RHC data
240
266
241
-
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.
267
+
There are other papers that have used RHC data [@keele2021comparing;@keele2018pre].
268
+
269
+
```{block, type='rmdcomment'}
270
+
@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)$.
271
+
```
272
+
273
+
In today's workshop, we will learn about TMLE-SL methods.
0 commit comments