Learn R Programming

⚠️There's a newer version (0.4-2.26) of this package.Take me there.

mpath (version 0.3-12)

Regularized Linear Models

Description

Algorithms for fitting model-based penalized coefficient paths. Currently the models include penalized Poisson, negative binomial, zero-inflated Poisson and zero-inflated negative binomial regression models. The penalties include least absolute shrinkage and selection operator (LASSO), smoothly clipped absolute deviation (SCAD) and minimax concave penalty (MCP), and each possibly combining with L_2 penalty. See Wang et al. (2014) , Wang et al. (2015) , Wang et al. (2016) .

Copy Link

Version

Install

install.packages('mpath')

Monthly Downloads

611

Version

0.3-12

License

GPL-2

Maintainer

Zhu Wang

Last Published

April 15th, 2019

Functions in mpath (0.3-12)

ncl

fit a nonconvex loss based robust linear model
methods

Methods for mpath Objects
glmreg_fit

Internal function to fit a GLM with lasso (or elastic net), snet and mnet regularization
rzi

random number generation of zero-inflated count response
glmregNB

fit a negative binomial model with lasso (or elastic net), snet and mnet regularization
sandwichReg

Making Sandwiches with Bread and Meat for Regularized Estimators
zipath

Fit zero-inflated count data linear model with lasso (or elastic net), snet or mnet regularization
estfunReg

Extract Empirical First Derivative of Log-likelihood Function
mpath-internal

Internal mpath functions
hessianReg

Hessian Matrix of Regularized Estimators
cv.glmregNB

Cross-validation for glmregNB
meatReg

Meat Matrix Estimator
se

Standard Error of Regularized Estimators
stan

standardize variables
ncl_fit

Internal function to fit a nonconvex loss based robust linear model
pval.zipath

compute p-values from penalized zero-inflated model with multi-split data
plot.glmreg

plot coefficients from a "glmreg" object
nclreg

fit a nonconvex loss based robust linear model with lasso (or elastic net), snet or mnet regularization
glmreg

fit a GLM with lasso (or elastic net), snet or mnet regularization
nclreg_fit

Internal function to fit a nonconvex loss based robust linear model with lasso (or elastic net), snet and mnet regularization
summary.glmregNB

Summary Method Function for Objects of Class 'glmregNB'
predict.glmreg

Model predictions based on a fitted "glmreg" object.
tuning.zipath

find optimal path for penalized zero-inflated model
predict.zipath

Methods for zipath Objects
cv.glmreg_fit

Internal function of cross-validation for glmreg
cv.nclreg

Cross-validation for nclreg
conv2glmreg

convert glm object to class glmreg
conv2zipath

convert zeroinfl object to class zipath
cv.glmreg

Cross-validation for glmreg
cv.nclreg_fit

Internal function of cross-validation for nclreg
cv.zipath

Cross-validation for zipath
be.zeroinfl

conduct backward stepwise variable elimination for zero inflated count regression
breadReg

Bread for Sandwiches in Regularized Estimators