Learn R Programming

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

mpath (version 0.4-2.21)

Regularized Linear Models

Description

Algorithms compute concave convex (CC) estimators including robust (penalized) generalized linear models and robust support vector machines via the COCO - composite optimization by conjugation operator. 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

569

Version

0.4-2.21

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Zhu Wang

Last Published

February 9th, 2022

Functions in mpath (0.4-2.21)

ccsvm

fit case weighted support vector machines with robust loss functions
breadReg

Bread for Sandwiches in Regularized Estimators
breastfeed

Breast feeding decision
be.zeroinfl

conduct backward stepwise variable elimination for zero inflated count regression
ccglmreg

Fit a penalized CC-estimator
compute_wt

Weight value from concave function
ccglm

fit a CC-estimator for robust generalized linear models
ccglmreg_fit

Internal function for penalized CC-estimators
ccsvm_fit

Fit iteratively re-weighted support vector machines for robust loss functions
compute_g

Compute concave function values
cv.ccsvm

Cross-validation for ccsvm
cv.ccglmreg_fit

Internal function of cross-validation for ccglmreg
cv.ccglmreg

Cross-validation for ccglmreg
cv.glmreg_fit

Internal function of cross-validation for glmreg
cv.nclreg

Cross-validation for nclreg
gfunc

Convert response value to raw prediction in GLM
estfunReg

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

Cross-validation for zipath
conv2zipath

convert zeroinfl object to class zipath
conv2glmreg

convert glm object to class glmreg
docvisits

Doctor visits
cv.zipath

Cross-validation for zipath
glmreg

fit a GLM with lasso (or elastic net), snet or mnet regularization
cv.nclreg_fit

Internal function of cross-validation for nclreg
glmregNB

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

Internal function of cross-validation for ccsvm
loss2

Composite Loss Value
cv.glmreg

Cross-validation for glmreg
stan

standardize variables
cv.glmregNB

Cross-validation for glmregNB
methods

Methods for mpath Objects
se

Standard Error of Regularized Estimators
mpath-internal

Internal mpath functions
meatReg

Meat Matrix Estimator
loss3

Composite Loss Value for GLM
summary.glmregNB

Summary Method Function for Objects of Class 'glmregNB'
loss2_ccsvm

Composite Loss Value for epsilon-insensitive Type
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
update_wt

Compute weight value
hessianReg

Hessian Matrix of Regularized Estimators
glmreg_fit

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

Optimize a nonconvex loss with regularization
nclreg_fit

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

fit a nonconvex loss based robust linear model
plot.glmreg

plot coefficients from a "glmreg" object
pval.zipath

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

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

Making Sandwiches with Bread and Meat for Regularized Estimators
rzi

random number generation of zero-inflated count response
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