Learn R Programming

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

mpath (version 0.3-26)

Regularized Linear Models

Description

Algorithms optimize penalized models. Currently the models include penalized Poisson, negative binomial, zero-inflated Poisson, zero-inflated negative binomial regression models and robust models. The penalties include least absolute shrinkage and selection operator (LASSO), smoothly clipped absolute deviation (SCAD), 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) , Wang (2019) .

Copy Link

Version

Install

install.packages('mpath')

Monthly Downloads

433

Version

0.3-26

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Zhu Wang

Last Published

June 1st, 2020

Functions in mpath (0.3-26)

cv.glmreg_fit

Internal function of cross-validation for glmreg
conv2glmreg

convert glm object to class glmreg
conv2zipath

convert zeroinfl object to class zipath
be.zeroinfl

conduct backward stepwise variable elimination for zero inflated count regression
cv.glmreg

Cross-validation for glmreg
cv.glmregNB

Cross-validation for glmregNB
cv.nclreg

Cross-validation for nclreg
cv.nclreg_fit

Internal function of cross-validation for nclreg
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
breadReg

Bread for Sandwiches in Regularized Estimators
meatReg

Meat Matrix Estimator
sandwichReg

Making Sandwiches with Bread and Meat for Regularized Estimators
cv.zipath

Cross-validation for zipath
methods

Methods for mpath Objects
glmreg_fit

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

Hessian Matrix of Regularized Estimators
ncl

fit a nonconvex loss based robust linear model
mpath-internal

Internal mpath functions
estfunReg

Extract Empirical First Derivative of Log-likelihood Function
pval.zipath

compute p-values from penalized zero-inflated model with multi-split data
stan

standardize variables
zipath

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

find optimal path for penalized zero-inflated model
cv.zipath_fit

Cross-validation for zipath
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
summary.glmregNB

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

Model predictions based on a fitted "glmreg" object.
se

Standard Error of Regularized Estimators
zipath_fit

Internal function to fit zero-inflated count data linear model with lasso (or elastic net), snet or mnet regularization
glmregNB

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

Methods for zipath Objects
ncl_fit

Internal function to fit a nonconvex loss based robust linear model
rzi

random number generation of zero-inflated count response