View source: R/bootci_coeff_2trt.R
bootci_coeff_2trt | R Documentation |
Part of the set of internal functions for estimating bootstrapped CIs for the coefficients of the mediation model for continuous outcome and two treatment groups.
bootci_coeff_2trt(trt, t.seq, M, Y, t.est, deltat, replicates)
trt |
a vector indicating treatment group |
t.seq |
a vector of time points for each observation |
M |
matrix of mediator values in wide format |
Y |
matrix of outcome values in wide format |
t.est |
time points at which to make the estimation. Default = t.seq |
deltat |
a small constant which controls the time-lag of the effect of the mediator on the outcome. |
replicates |
number of replicates for bootstrapping confidence intervals. Default = 1000 |
CI.upper.alpha |
CI upper limit for coefficient hat.alpha |
CI.lower.alpha |
CI lower limit for coefficient hat.alpha |
CI.upper.gamma |
CI upper limit for coefficient hat.gamma |
CI.lower.gamma |
CI lower limit for coefficient hat.gamma |
CI.upper.beta |
CI upper limit for coefficient hat.beta |
CI.lower.beta |
CI lower limit for coefficient hat.beta |
CI.upper.tau |
CI upper limit for coefficient hat.tau |
CI.lower.tau |
CI lower limit for coefficient hat.tau |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.