Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

RidgeBinaryLogisticFit

Fits a binary logistic regression with ridge penalization


Description

This function fits a logistic regression between a dependent variable y and some independent variables x, and solves the separation problem in this type of regression using ridge regression and penalization.

Usage

RidgeBinaryLogisticFit(y, xd, freq, tolerance = 1e-05, maxiter = 100, penalization = 0.2)

Arguments

y

A vector with the values of the dependent variable

xd

A matrix with the independent variables

freq

Frequencies of each pattern

tolerance

Tolerance for the iterations.

maxiter

Maximum number of iterations for convergenc~

penalization

Penalization used in the diagonal matrix to avoid singularities.

Details

Fits a binary logistic regression with ridge penalization

Value

The parameters of the fit

Author(s)

Jose Luis Vicente Villardon

See Also

Examples

##---- Should be DIRECTLY executable !! ----

MultBiplotR

Multivariate Analysis Using Biplots in R

v1.3.30
GPL (>= 2)
Authors
Jose Luis Vicente-Villardon
Initial release
2021-03-30

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.