Estimate hard constraint model parameters using cyclical coordinate descent.
constrained.unpenalized(
Y,
M,
A,
C = NULL,
T.hat.external,
err.tol.out = 1e-08,
err.tol.med = 1e-08,
max.itr = 10000
)
A list containing point estimates of the hard constraint model parameters and an indicator of whether the algorithm converges.
A (n x 1) continuous outcome vector.
A (n x p_m) matrix of mediators.
A (n x 1) vector of exposures.
A (n x p_c) matrix of confounders and adjustment covariates. If there are no confounders or adjustment covariates set C = NULL.
External estimate of the total effect.
Termination condition for cyclical coordinate descent algorithm with respect to the outcome model parameters.
Termination condition for cyclical coordinate descent algorithm with respect to the mediator model parameters.
Maximum number of iterations for cyclical coordinate descent algorithm.