Learn R Programming

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

mpath (version 0.4-2.20)

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

433

Version

0.4-2.20

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Zhu Wang

Last Published

December 3rd, 2021

Functions in mpath (0.4-2.20)

compute_wt

Weight value from concave function
ccglmreg_fit

Internal function for penalized CC-estimators
ccsvm_fit

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

convert glm object to class glmreg
cv.ccglmreg

Cross-validation for ccglmreg
conv2zipath

convert zeroinfl object to class zipath
cv.ccglmreg_fit

Internal function of cross-validation for ccglmreg
cv.glmreg_fit

Internal function of cross-validation for glmreg
cv.glmregNB

Cross-validation for glmregNB
cv.ccsvm_fit

Internal function of cross-validation for ccsvm
cv.glmreg

Cross-validation for glmreg
cv.ccsvm

Cross-validation for ccsvm
cv.nclreg

Cross-validation for nclreg
estfunReg

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

Cross-validation for zipath
cv.nclreg_fit

Internal function of cross-validation for nclreg
glmreg

fit a GLM with lasso (or elastic net), snet or mnet regularization
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
loss3

Composite Loss Value for GLM
meatReg

Meat Matrix Estimator
loss2

Composite Loss Value
loss2_ccsvm

Composite Loss Value for epsilon-insensitive Type
gfunc

Convert response value to raw prediction in GLM
docvisits

Doctor visits
nclreg_fit

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

Optimize a nonconvex loss with regularization
cv.zipath_fit

Cross-validation for zipath
stan

standardize variables
se

Standard Error of Regularized Estimators
mpath-internal

Internal mpath functions
methods

Methods for mpath Objects
predict.glmreg

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

random number generation of zero-inflated count response
ncl_fit

Internal function to 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 a nonconvex loss based robust linear model
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
summary.glmregNB

Summary Method Function for Objects of Class 'glmregNB'
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
update_wt

Compute weight value
ccglm

fit a CC-estimator for robust generalized linear models
breastfeed

Breast feeding decision
ccsvm

fit case weighted support vector machines with robust loss functions
be.zeroinfl

conduct backward stepwise variable elimination for zero inflated count regression
compute_g

Compute concave function values
breadReg

Bread for Sandwiches in Regularized Estimators
ccglmreg

Fit a penalized CC-estimator