bootci_tvm_3trt {tvmediation} | R Documentation |
Bootstrap samples to estimate confidence intervals for continuous outcome and three treatment groups.
Description
Internal function for estimating bootstrapped confidence intervals for the mediation
effect of continuous outcome and three treatment groups when user argument
CI="boot"
.
Usage
bootci_tvm_3trt(boot.sample, orig.data, t.est)
Arguments
boot.sample |
number of replicates for bootstrapping confidence intervals. Default = 1000. |
orig.data |
a list of original data |
t.est |
time points at which to make the estimation. Default = t.seq. |
Value
plw1 |
CI lower limit for estimated mediation effect of T1 |
pup1 |
CI upper limit for estimated mediation effect of T1 |
plw2 |
CI lower limit for estimated mediation effect of T2 |
pup2 |
CI upper limit for estimated mediation effect of T2 |
orig.se1.all |
estimated standard errors for the mediation effect of T1 |
orig.se2.all |
estimated standard errors for the mediation effect of T2 |
orig.mediation1 |
time varying mediation effect for T1 |
orig.mediation2 |
time varying mediation effect for T2 |