Posts

Deepak's blog

Image
Linear Regression — Detailed View Linear regression is used for finding linear relationship between target and one or more predictors. There are two types of linear regression- Simple and Multiple.    Simple Linear Regression:  Regression analysis is commonly used for modeling the relationship between a single dependent variable Y and one or more predictors.  When we have one predictor, we call this "simple" linear regression, It looks for statistical relationship but not deterministic relationship. Relationship between two variables is said to be deterministic if one variable can be accurately expressed by the other.for example, using temperature in degree Celsius it is possible to accurately predict kelvin. Statistical relationship is not accurate in determining relationship between two variables. For example, relationship between height and weight. Real-time example lets say we have a data set which have the information about years of ex...