Regularized Mediation Analysis


[Up] [Top]

Documentation for package ‘regmed’ version 2.1.0

Help Pages

regmed-package Regularized Mediation Analysis
med Simulated dataset for regmed package
medsim Simulated dataset for regmed package
mvregmed.dat.check Helper function to check x, y, mediator for input to mvregmed functions
mvregmed.edges For an object of class mvregmed, create edges for a graph object that can be used for plots, or for creating models input to lavaan function sem
mvregmed.fit Multivariate regularized mediation model
mvregmed.graph.attributes Setup attributes of graph object for plotting
mvregmed.grid Fit a grid of mvregmed models over a vector of lambda penalty parameters
mvregmed.grid.bestfit Choose best fit model from a grid search based on minimum Bayesian Information Criterion
mvregmed.grid.data Helper function to summarize fits of models across a grid of lambda values
mvregmed.grid.update Helper function to update parameters in a grid search
mvregmed.init Helper function to setup data and parameters for input to mvregmed.fit and mvregmed.grid
mvregmed.lavaan.dat Set up data to input to lavaan sem
mvregmed.lavaan.model Setup a model for input to lavaan
plot.mvregmed.edges For an object of class mvregmed, create edges for a graph object that can be used for plots, or for creating models input to lavaan function sem
plot.mvregmed.grid Plot penalty parameter lambda versus BIC for model fits
plot.regmed.edges For an object of class regmed, create edges for a graph object that can be used for plots, or for creating models input to lavaan function sem
plot.regmed.grid Plots for regmed.grid object.
print.regmed Regularized Mediation model for a specified lambda penalty value.
print.regmed.grid Regularized mediation models over a vector grid of lambda penalty values.
regmed Regularized Mediation Analysis
regmed.dat.check Helper function to check x, y, mediator for input to mvregmed functions
regmed.edges For an object of class regmed, create edges for a graph object that can be used for plots, or for creating models input to lavaan function sem
regmed.fit Regularized Mediation model for a specified lambda penalty value.
regmed.grid Regularized mediation models over a vector grid of lambda penalty values.
regmed.grid.bestfit Find best fitting regmed model from regmed.grid object.
regmed.lavaan.dat Set up data to input to lavaan sem
regmed.lavaan.model Create a lavaan model
regmed.prefilter Prefilter to reduce the number of mediators for subsequent analyses
summary.lavaan Create a lavaan model
summary.mvregmed Summary of mvregmed object
summary.mvregmed.grid Fit a grid of mvregmed models over a vector of lambda penalty parameters
summary.regmed Regularized Mediation model for a specified lambda penalty value.
summary.regmed.grid Regularized mediation models over a vector grid of lambda penalty values.
x Simulated dataset for regmed package
y Simulated dataset for regmed package