Saturday, July 9, 2022

Simple Linear Regression

 

Simple Linear Regression

Simple linear regression is a regression model that uses a straight line to calculate the association between one independent variable and one dependent variable. Suppose let x be the independent variable and y as the dependent variable to x. 

In the above example the Y variable is depended on X variable (that is the mutliple of 2 and X). We can take any number as X but the its Y value is depended on some rule related to X.

We already told that Simple Linear Regression uses a straight line for prediction. Taking the equation of a straight line:-

So for each Y there should be an X value and its co-efficient and a constant. Whenever an input X is given

Share:

0 comments:

Post a Comment