unconstrained.unpenalized: Estimate unconstrained model parameters.

View source: R/fns.R

unconstrained.unpenalizedR 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.


messi documentation built on April 3, 2025, 7:40 p.m.