50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

Global Adaptive Generative Adjustment for Generalized Linear Models

GAGA is a parameter estimation method, and it has efficient model selection ability. Its hyperparameters are easy to set. In general, alpha can be set to 1, 2 or 3, but when the collinearity of the load matrix is serious, the hyperparameters can be selected larger, such as 5. In the comparative experiment of dealing with linear models, the GAGA algorithm is competitive with adaptive lasso, SCAD, MCP. In the comparative experiment of dealing with generalized linear models, the GAGA algorithm is competitive with glmnet.

At present, GAGA can deal with linear regression, logistic and multinomial regression models, Poisson regression, Cox model.

For more detailed information, see Bin Wang, Xiaofei Wang and Jianhua Guo (2022) <arXiv:1911.00658>. This paper provides the theoretical properties of Gaga linear model when the load matrix is orthogonal. Further study is going on for the nonorthogonal cases and generalized linear models. These works are in part supported by the National Natural Foundation of China (No.12171076).

Copy Link

Version

Install

install.packages('GAGAs')

Monthly Downloads

154

Version

0.6.2

License

GPL-2

Maintainer

Bin Wang

Last Published

January 23rd, 2024

Functions in GAGAs (0.6.2)

predict_LM_GAGA

Get predictions from a GAGA linear model fit object
predict.GAGA

Get predictions from a GAGA fit object
poisson_GAGA

Fit a Poisson model via the GAGA algorithm
predict_cox_GAGA

Get predictions from a GAGA cox model fit object
logistic_GAGA

Fit a logistic model via the Global Adaptive Generative Adjustment algorithm
cpp_poisson_gaga

Fit a poisson model via the GAGA algorithm using cpp
predict_logistic_GAGA

Get predictions from a GAGA logistic model fit object
predict_multinomial_GAGA

Get predictions from a GAGA multinomial model fit object
multinomial_GAGA

Fit a multinomial model via the GAGA algorithm
predict_poisson_GAGA

Get predictions from a GAGA poisson model fit object
rcpp_lm_gaga

Fit a linear model via the GAGA algorithm using cpp.
summary.GAGA

Print a summary of GAGA object
GAGAs

GAGAs: A package for fiting a GLM with GAGA algorithm
cpp_COX_gaga

Fit a Cox model via the GAGA algorithm using cpp.
cox_GAGA

Fit a Cox model via the GAGA algorithm.
cal.F1Score

Calculate F1 score for classification, the inputs must be characters, and each of these elements must be either 'FALSE' or 'TRUE'.
LM_GAGA

Fit a linear model via the GAGA algorithm
cpp_logistic_gaga

Fit a logistic model via the Global Adaptive Generative Adjustment algorithm using cpp
cal.cindex

compute C index for a Cox model
cal.acc

Calculate ACC for classification, the inputs must be characters
cpp_multinomial_gaga

Fit a multinomial model via the GAGA algorithm using cpp
cal.w.acc

Calculate the weighted ACC of the classification, the inputs must be characters