Learn R Programming

medflex (version 0.6-10)

Flexible Mediation Analysis Using Natural Effect Models

Description

Run flexible mediation analyses using natural effect models as described in Lange, Vansteelandt and Bekaert (2012) , Vansteelandt, Bekaert and Lange (2012) and Loeys, Moerkerke, De Smet, Buysse, Steen and Vansteelandt (2013) .

Copy Link

Version

Install

install.packages('medflex')

Monthly Downloads

532

Version

0.6-10

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

June 22nd, 2023

Functions in medflex (0.6-10)

neImpute.formula

Expand the dataset and impute nested counterfactual outcomes
neLht-methods

Methods for linear hypotheses in natural effect models
neModel-methods

Methods for natural effect models
expData

Expanded dataset
neImpute

Expand the dataset and impute nested counterfactual outcomes
neModel

Fit a natural effect model
expData-methods

Methods for expanded datasets
UPBdata

UPB data
neLht

Linear hypotheses for natural effect models
neImpute.default

Expand the dataset and impute nested counterfactual outcomes
neWeight.default

Expand the dataset and calculate ratio-of-mediator probability weights
neWeight

Expand the dataset and calculate ratio-of-mediator probability weights
plot.neModel

Confidence interval plots for natural effect components
plot.neLht

Confidence interval plots for linear hypotheses in natural effect models
neWeight.formula

Expand the dataset and calculate ratio-of-mediator probability weights