Predicting Car Prices using Linear Regression
Linear regression is one of the widely used statistical techniques for analysis. It provides a relationship between the target and the predictors. The below graph shows the linear relationship between the “dependent” variable Y, whose values we wish to predict and the “independent” variable X from which we wish to predict it. There are two types of linear regression: 1. Simple Linear Regression : It denotes the relationship between one variable and the target variable. The above graph represents the Simple Linear Regression. 2. Multiple Linear Regression : It denotes the relationship between 2 or more independent variables and the corresponding dependent variable. The independent variables can be continuous or categorical. The below graph shows the multiple linear regression. Properties of Linear Regression Below are the main properties of linear regression: There is a linear relationship between X a...