Learn R Programming

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

mpath (version 0.4-2.23)

Regularized Linear Models

Description

Algorithms compute robust estimators for loss functions in the concave convex (CC) family by the iteratively reweighted convex optimization (IRCO), an extension of the iteratively reweighted least squares (IRLS). The IRCO reduces the weight of the observation that leads to a large loss; it also provides weights to help identify outliers. Applications include robust (penalized) generalized linear models and robust support vector machines. The package also contains penalized Poisson, negative binomial, zero-inflated Poisson, zero-inflated negative binomial regression models and robust models with non-convex loss functions. Wang et al. (2014) , Wang et al. (2015) , Wang et al. (2016) , Wang (2021) , Wang (2020) .

Copy Link

Version

Install

install.packages('mpath')

Monthly Downloads

611

Version

0.4-2.23

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Zhu Wang

Last Published

January 6th, 2023

Functions in mpath (0.4-2.23)

compute_g

Compute concave function values
conv2glmreg

convert glm object to class glmreg
compute_wt

Weight value from concave function
breadReg

Bread for Sandwiches in Regularized Estimators
cv.irsvm

Cross-validation for irsvm
cv.irsvm_fit

Internal function of cross-validation for irsvm
cv.glmreg

Cross-validation for glmreg
estfunReg

Extract Empirical First Derivative of Log-likelihood Function
docvisits

Doctor visits
cv.irglmreg

Cross-validation for irglmreg
cv.nclreg

Cross-validation for nclreg
cv.zipath

Cross-validation for zipath
cv.irglmreg_fit

Internal function of cross-validation for irglmreg
cv.zipath_fit

Cross-validation for zipath
cv.nclreg_fit

Internal function of cross-validation for nclreg
gfunc

Convert response value to raw prediction in GLM
irglmreg

Fit a robust penalized generalized linear models
loss3

Composite Loss Value for GLM
meatReg

Meat Matrix Estimator
hessianReg

Hessian Matrix of Regularized Estimators
glmregNB

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

Summary Method Function for Objects of Class 'glmregNB'
irglmreg_fit

Internal function for robust penalized generalized linear models
irglm

fit a robust generalized linear models
pval.zipath

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

fit case weighted support vector machines with robust loss functions
glmreg_fit

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

Methods for mpath Objects
glmreg

fit a GLM with lasso (or elastic net), snet or mnet regularization
plot.glmreg

plot coefficients from a "glmreg" object
mpath-internal

Internal mpath functions
tuning.zipath

find optimal path for penalized zero-inflated model
zipath

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

Making Sandwiches with Bread and Meat for Regularized Estimators
loss2

Composite Loss Value
loss2_irsvm

Composite Loss Value for epsilon-insensitive Type
irsvm_fit

Fit iteratively reweighted support vector machines for robust loss functions
ncl_fit

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

Optimize a nonconvex loss with regularization
nclreg_fit

Internal function to fitting a nonconvex loss based robust linear model with regularization
rzi

random number generation of zero-inflated count response
update_wt

Compute weight value
predict.glmreg

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

Methods for zipath Objects
zipath_fit

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

fit a nonconvex loss based robust linear model
se

Standard Error of Regularized Estimators
stan

standardize variables
be.zeroinfl

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

Cross-validation for glmregNB
cv.glmreg_fit

Internal function of cross-validation for glmreg
breastfeed

Breast feeding decision
conv2zipath

convert zeroinfl object to class zipath