

It's value is binomial for logistic regression. The basic syntax for glm() function in logistic regression is −įormula is the symbol presenting the relationship between the variables.ĭata is the data set giving the values of these variables.įamily is R object to specify the details of the model.

The function used to create the regression model is the glm() function. The general mathematical equation for logistic regression is −įollowing is the description of the parameters used −Ī and b are the coefficients which are numeric constants. It actually measures the probability of a binary response as the value of response variable based on the mathematical equation relating it with the predictor variables.

The Logistic Regression is a regression model in which the response variable (dependent variable) has categorical values such as True/False or 0/1.
