1. Logistic regression should be used under which condition?
A. Some of the independent variable are categorical variables.
B. The dependent variable is categorical variable.
C. The independent variable are not categorical variables.
D. The dependent variable is not categorical variable.
The correct option is :
B. The dependent variable is categorical variable
Reason: Consider the example where we want to predict whether a person is going to suffer from heart attack or not and this is our response/dependent variable and the independent variables are systolic blood pressure,age,education,diastolic pressure,cigarretes per day etc. So in this example our response variable Y is categorical,i.e,it takes the value 1 if a person is going to suffer from heart attack and 0 if the person is not going to suffer from heart attack. This is an example of a logistic regression where the response/dependent variable is binary/categorical.
Please leave a comment if there is any doubt.
Leave an up vote if you like the solution..!!
Get Answers For Free
Most questions answered within 1 hours.