This function computes and returns a data frame containing point estimates and standard errors for the parameters of a longitudinal mediation model.
getMED.output(model, y_var, m_var, x_type, x_var, curveFun, names)
A data frame containing the point estimates and standard errors for parameters of a longitudinal mediation model.
An object representing a fitted longitudinal mediation model.
A string specifying the prefix of the column names corresponding to the outcome variable at each study wave.
It takes the value passed from getMediation()
.
A string specifying the prefix of the column names corresponding to the mediator variable at each study wave.
It takes the value passed from getMediation()
.
A string indicating the type of predictor variable used in the model. Supported values are "baseline"
and "longitudinal"
. It takes the value passed from getMediation()
.
A string specifying the baseline predictor if x_type = "baseline"
, or the prefix of the column names
corresponding to the predictor variable at each study wave if x_type = "longitudinal"
. It takes the value passed from
getMediation()
.
A string specifying the functional form of the growth curve. Supported options include: "linear"
(or "LIN"
), and "bilinear spline"
(or "BLS"
). It takes the value passed from getMediation()
.
A character vector specifying parameter names. It takes the value passed from getMediation()
.