0% found this document useful (0 votes)
1 views

difference Linear Regression

Linear regression predicts continuous dependent variables using independent variables, while logistic regression predicts categorical dependent variables. Linear regression uses least squares estimation and requires a linear relationship between variables, whereas logistic regression employs maximum likelihood estimation and does not require such a relationship. Additionally, linear regression outputs continuous values, while logistic regression outputs categorical values.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1 views

difference Linear Regression

Linear regression predicts continuous dependent variables using independent variables, while logistic regression predicts categorical dependent variables. Linear regression uses least squares estimation and requires a linear relationship between variables, whereas logistic regression employs maximum likelihood estimation and does not require such a relationship. Additionally, linear regression outputs continuous values, while logistic regression outputs categorical values.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Linear Regression Logistic Regression

Linear regression is used to predict the Logistic Regression is used to predict the
continuous dependent variable using a given set categorical dependent variable using a given set
of independent variables. of independent variables.

Linear Regression is used for solving Regression Logistic regression is used for solving
problem. Classification problems.

In Linear regression, we predict the value of In logistic Regression, we predict the values of
continuous variables. categorical variables.

In linear regression, we find the best fit line, by In Logistic Regression, we find the S-curve by
which we can easily predict the output. which we can classify the samples.

Least square estimation method is used for Maximum likelihood estimation method is used
estimation of accuracy. for estimation of accuracy.

The output for Linear Regression must be a The output of Logistic Regression must be a
continuous value, such as price, age, etc. Categorical value such as 0 or 1, Yes or No, etc.

In Linear regression, it is required that In Logistic regression, it is not required to have


relationship between dependent variable and the linear relationship between the dependent
independent variable must be linear. and independent variable.

In linear regression, there may be collinearity In logistic regression, there should not be
between the independent variables. collinearity between the independent variable.
Difference between Linear Regression and Logistic Regression

You might also like