View source: R/bootci_coeff_binary.R
bootci_coeff_binary | R Documentation |
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 )
treatment |
a vector indicating treatment group |
t.seq |
a vector of unique time points for each observation |
m |
matrix of mediator values in wide format |
outcome |
matrix of outcome values in wide format |
span |
Numeric value of the span to be used for LOESS regression. Default = 0.75. |
replicates |
Number of replicates for bootstrapping confidence intervals. Default = 1000. |
t.seq |
time points of estimation |
CI.lower.a |
CI lower limit for alpha_hat |
CI.upper.a |
CI upper limit for alpha_hat |
CI.lower.g |
CI lower limit for gamma_hat |
CI.upper.g |
CI upper limit for gamma_hat |
CI.lower.b |
CI lower limit for beta_hat |
CI.upper.b |
CI upper limit for beta_hat |
CI.lower.t |
CI lower limit for tau_hat |
CI.upper.t |
CI upper limit for tau_hat |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.