Learn R Programming

mpath (version 0.4-2.26)

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 (2024) .

Copy Link

Version

Install

install.packages('mpath')

Monthly Downloads

1,034

Version

0.4-2.26

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

June 27th, 2024

Functions in mpath (0.4-2.26)

conv2zipath

convert zeroinfl object to class zipath
breadReg

Bread for Sandwiches in Regularized Estimators
cv.irglmreg

Cross-validation for irglmreg
cv.glmreg

Cross-validation for glmreg
cv.irglmreg_fit

Internal function of cross-validation for irglmreg
cv.glmregNB

Cross-validation for glmregNB
docvisits

Doctor visits
conv2glmreg

convert glm object to class glmreg
cv.glmreg_fit

Internal function of cross-validation for glmreg
cv.irsvm

Cross-validation for irsvm
cv.nclreg

Cross-validation for nclreg
irsvm

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

Cross-validation for zipath
estfunReg

Extract Empirical First Derivative of Log-likelihood Function
cv.zipath_fit

Cross-validation for zipath
gfunc

Convert response value to raw prediction in GLM
cv.nclreg_fit

Internal function of cross-validation for nclreg
loss2

Composite Loss Value
irsvm_fit

Fit iteratively reweighted support vector machines for robust loss functions
cv.irsvm_fit

Internal function of cross-validation for irsvm
glmregNB

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

Hessian Matrix of Regularized Estimators
glmreg_fit

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

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

Composite Loss Value for GLM
meatReg

Meat Matrix Estimator
nclreg

Optimize a nonconvex loss with regularization
pval.zipath

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

Fit a robust penalized generalized linear models
loss2_irsvm

Composite Loss Value for epsilon-insensitive Type
irglmreg_fit

Internal function for robust penalized generalized linear models
se

Standard Error of Regularized Estimators
irglm

fit a robust generalized linear models
rzi

random number generation of zero-inflated count response
stan

standardize variables
methods

Methods for mpath Objects
ncl

fit a nonconvex loss based robust linear model
plot.glmreg

plot coefficients from a "glmreg" object
mpath-internal

Internal mpath functions
nclreg_fit

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

Internal function to fit a nonconvex loss based robust linear model
summary.glmregNB

Summary Method Function for Objects of Class 'glmregNB'
zipath_fit

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

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

Methods for zipath Objects
update_wt

Compute weight value
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
tuning.zipath

find optimal path for penalized zero-inflated model
be.zeroinfl

conduct backward stepwise variable elimination for zero inflated count regression
compute_wt

Weight value from concave function
breastfeed

Breast feeding decision
compute_g

Compute concave function values