unconstrained.unpenalized {messi}R Documentation

Estimate unconstrained model parameters.

Description

Estimate unconstrained model parameters.

Usage

unconstrained.unpenalized(Y, M, A, C = NULL)

Arguments

Y

A (n x 1) continuous outcome vector.

M

A (n x p_m) matrix of mediators.

A

A (n x 1) vector of exposures.

C

A (n x p_c) matrix of confounders and adjustment covariates. If there are no confounders or adjustment covariates set C = NULL.

Value

A list containing point estimates of the unconstrained model parameters.


[Package messi version 0.1.1 Index]