As we could not discuss the logistic regression in the class, below is some information about the same.
Meaning:
Logistic Regression is a type of predictive model that can be used when the target variable is a categorical variable with two categories – for example live/die, has disease/doesn’t have disease, purchases product/doesn’t purchase, wins race/doesn’t win, etc.
A logistic regression model does not involve decision trees and is more similar to nonlinear regression such as fitting a polynomial to a set of data values.
Logistic regression can be used only with two types of target variables:
1. A categorical target variable that has exactly two categories (i.e., a binary or dichotomous variable).
2. A continuous target variable that has values in the range 0.0 to 1.0 representing probability values or proportions.
As an example of logistic regression, consider a study whose goal is to model the response to a drug as a function of the dose of the drug administered. The target (dependent) variable, Response, has a value 1 if the patient is successfully treated by the drug and 0 if the treatment is not successful. Thus the general form of the model is:
Response = f(dose)
The input data for Response will have the value 1 if the drug is effective and 0 if the drug is not effective. The value of Response predicted by the model represents the probability of achieving an effective outcome, P(Response=1|Dose). As with all probability values, it is in the range 0.0 to 1.0.
One obvious question is “Why not simply use linear regression?” In fact, many studies have done just that, but there are two significant problems:
1. There are no limits on the values predicted by a linear regression, so the predicted response might be less than 0 or greater than 1 – clearly nonsensical as a response probability.
2. The response usually is not a linear function of the dosage. If a minute amount of the drug is administered, no patients will respond. Doubling the dose to a larger but still minute amount will not yield any positive response. But as the dosage is increases a threshold will be reached where the drug begins to become effective. Incremental increases in the dosage above the threshold usually will elicit an increasingly positive effect. However, eventually a saturation level is reached, and beyond that point increasing the dosage does not increase the response.
No comments:
Post a Comment