![the linear regression equation example the linear regression equation example](https://opletts.github.io/blog/posts/images/linear-regression/Figure_5.png)
We want to look at the historical data and find the values of ‘c’ and ‘a’. Not exactly same but somewhat like this wherein there seems to be clutter of points going in one linear direction. It means if we take the values of these ‘x’s and ‘y’s and plot of graph then we get a graph like this.
![the linear regression equation example the linear regression equation example](https://i.pinimg.com/originals/c7/36/7f/c7367f2a198c700aa69ce885abd9ebee.jpg)
We also know that change in x impacts y somewhat linearly. Lets say we have good amount of historical data wherein values of input ‘x’ and output/result ‘y’ are provided.
![the linear regression equation example the linear regression equation example](https://www.digitalvidya.com/wp-content/uploads/2018/10/CI-PI-EQUATION-1024x693.png)
How much value of x has impact on y is determined by “a”.