# Linear Regression

__Regression__

The word regression was first used by Frances Galton in 1985. It is defined as “**The dependence of one variable upon another variable**”. For example, weight depends upon height. The yield of wheat depends upon the amount of fertilizer. In regression we can estimate the unknown values of one (dependent) variable from the known values of the other (independent) variable.

__Linear Regression__

When the dependence of the variable is represented by a straight line then it is called linear regression; otherwise it is said to be non linear or curvilinear regression.

**For example, **if is the dependent variable and is the dependent variable, then the relation is linear regression.

__Regression Line of Y on X__

Regression lines study the average relationship between two variables. In regression line on , we estimate the average value of *Y* for a given value of .

Here, *Y* is the dependent variable and is the independent variable. An alternate form of regression line on is:

__Regression Line of X on Y__

In regression line on we estimate the average value of for a given value of .

.

Here, is the dependent variable and is the independent variable. An alternate form of regression line on is: