Learn R Programming

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

mpath (version 0.4-2.22)

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

596

Version

0.4-2.22

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Zhu Wang

Last Published

February 22nd, 2022

Functions in mpath (0.4-2.22)

be.zeroinfl

conduct backward stepwise variable elimination for zero inflated count regression
conv2glmreg

convert glm object to class glmreg
conv2zipath

convert zeroinfl object to class zipath
breastfeed

Breast feeding decision
breadReg

Bread for Sandwiches in Regularized Estimators
cv.glmreg_fit

Internal function of cross-validation for glmreg
compute_wt

Weight value from concave function
compute_g

Compute concave function values
cv.glmregNB

Cross-validation for glmregNB
cv.glmreg

Cross-validation for glmreg
cv.irglmreg

Cross-validation for irglmreg
cv.irsvm_fit

Internal function of cross-validation for irsvm
cv.irsvm

Cross-validation for irsvm
cv.zipath

Cross-validation for zipath
irglmreg_fit

Internal function for robust penalized generalized linear models
irglmreg

Fit a robust penalized generalized linear models
hessianReg

Hessian Matrix of Regularized Estimators
irglm

fit a robust generalized linear models
docvisits

Doctor visits
estfunReg

Extract Empirical First Derivative of Log-likelihood Function
se

Standard Error of Regularized Estimators
ncl

fit a nonconvex loss based robust linear model
ncl_fit

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

Fit iteratively reweighted support vector machines for robust loss functions
pval.zipath

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

plot coefficients from a "glmreg" object
irsvm

fit case weighted support vector machines with robust loss functions
cv.zipath_fit

Cross-validation for zipath
loss2

Composite Loss Value
loss2_irsvm

Composite Loss Value for epsilon-insensitive Type
rzi

random number generation of zero-inflated count response
cv.irglmreg_fit

Internal function of cross-validation for irglmreg
sandwichReg

Making Sandwiches with Bread and Meat for Regularized Estimators
meatReg

Meat Matrix Estimator
glmreg_fit

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

Composite Loss Value for GLM
stan

standardize variables
glmregNB

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

Cross-validation for nclreg
nclreg

Optimize a nonconvex loss with regularization
update_wt

Compute weight value
zipath

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

Internal function to fitting a nonconvex loss based robust linear model with regularization
predict.zipath

Methods for zipath Objects
predict.glmreg

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

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

Convert response value to raw prediction in GLM
methods

Methods for mpath Objects
cv.nclreg_fit

Internal function of cross-validation for nclreg
tuning.zipath

find optimal path for penalized zero-inflated model
glmreg

fit a GLM with lasso (or elastic net), snet or mnet regularization
mpath-internal

Internal mpath functions
summary.glmregNB

Summary Method Function for Objects of Class 'glmregNB'