Internal function for estimating bootstrapped confidence intervals for the coefficients of the mediation model for a binary outcome.
bootci_coeff_binary(
treatment,
t.seq,
m,
outcome,
span = 0.75,
replicates = 1000
)
a vector indicating treatment group
a vector of unique time points for each observation
matrix of mediator values in wide format
matrix of outcome values in wide format
Numeric value of the span to be used for LOESS regression. Default = 0.75.
Number of replicates for bootstrapping confidence intervals. Default = 1000.
time points of estimation
CI lower limit for alpha_hat
CI upper limit for alpha_hat
CI lower limit for gamma_hat
CI upper limit for gamma_hat
CI lower limit for beta_hat
CI upper limit for beta_hat
CI lower limit for tau_hat
CI upper limit for tau_hat