I have different back-door adjustment sets for the treatment-outcome and mediator-outcome relationships. I don't think there is a way to specify this in cmest().
Another small question, how is the 95% CI and p-value calculated for the proportion mediated (pm) when estimation = "paramfunc" and inference = "delta"?
Hi, you can set yreg and mreg to the regression models with corresponding confounders. The CI and p-value are calculated by the delta method when inference = 'delta'.
I have different back-door adjustment sets for the treatment-outcome and mediator-outcome relationships. I don't think there is a way to specify this in
cmest()
.Another small question, how is the 95% CI and p-value calculated for the proportion mediated (pm) when
estimation = "paramfunc"
andinference = "delta"
?