regmed.grid.bestfit {regmed}R Documentation

Find best fitting regmed model from regmed.grid object.

Description

Find best fitting regmed model from regmed.grid object using minimum BIC to select model.

Usage

regmed.grid.bestfit(fit.grid)

Arguments

fit.grid

a regmed.grid object

Value

fit

best fit regmed object based on minimum BIC

grid

row out of grid.data of regmed.grid object corresponding to best fit

Author(s)

Dan Schaid, Greg Jenkins, Jason Sinnwell

References

Schaid, DJ, Sinnwell JP. (2020) Penalized Models for Analysis of Multiple Mediators. Genet Epidemiol 44:408-424.

See Also

regmed.grid


[Package regmed version 2.1.0 Index]