seq.mediator: The estimator for the sequential mediation that utilizes data...

View source: R/seq.mediator.R

seq.mediatorR Documentation

The estimator for the sequential mediation that utilizes data only complete cases

Usage

seq.mediator(mmodels, exposure, int, data, ...)

Arguments

mmodels

The models correspond to the models the outcome.

exposure

The exposure.

int

The exposure of interest for the mediation analysis.

data

Data.

...

Value

mmodels

The mmodels that have been used for modeling data.

coef

The coefficients from the analysis of the direct effect and the indirect effects.

exposure

The exposure of the analysis.

N

The sample size of data.

NCC

The sample size of complete cases of data. In case of no missing values NCC is equal to N.

Author(s)

Thomas Maltesen thomas.maltesen@protonmail.com

References

put references to the literature/web site here

Examples

## Not run: 
p<-function(x)exp(x)/(1+exp(x))

## End(Not run)


mcl868/causalinmisdata documentation built on March 5, 2024, 8:22 a.m.