Learn R Programming

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

mpath (version 0.3-7)

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-7

License

GPL-2

Maintainer

Zhu Wang

Last Published

February 27th, 2019

Functions in mpath (0.3-7)

cv.glmreg_fit

Internal function of cross-validation for glmreg
glmreg_fit

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

Cross-validation for nclreg
rzi

random number generation of zero-inflated count response
ncl_fit

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

fit a nonconvex loss based robust linear model
sandwichReg

Making Sandwiches with Bread and Meat for Regularized Estimators
estfunReg

Extract Empirical First Derivative of Log-likelihood Function
glmreg

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

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

Cross-validation for glmreg
cv.glmregNB

Cross-validation for glmregNB
nclreg_fit

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

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

convert glm object to class glmreg
conv2zipath

convert zeroinfl object to class zipath
stan

standardize variables
hessianReg

Hessian Matrix of Regularized Estimators
meatReg

Meat Matrix Estimator
se

Standard Error of Regularized Estimators
predict.glmreg

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

Methods for zipath Objects
summary.glmregNB

Summary Method Function for Objects of Class 'glmregNB'
tuning.zipath

find optimal path for penalized zero-inflated model
methods

Methods for mpath Objects
mpath-internal

Internal mpath functions
pval.zipath

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

plot coefficients from a "glmreg" object
be.zeroinfl

conduct backward stepwise variable elimination for zero inflated count regression
breadReg

Bread for Sandwiches in Regularized Estimators
cv.nclreg_fit

Internal function of cross-validation for nclreg
cv.zipath

Cross-validation for zipath
glmregNB

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