Introduction to regression of y on x:
Regression equations, also known as estimating equations, are algebraic expressions of the regression lines. Since there are two regression lines, there are two regression equations - the regression equation of X on Y is used to describe the variations in the values of X for given changes in Y and the regression equation of Y on X is used to describe the variation in the values of Y for given changes in X. I like to share this Logistic Regression Model with you all through my article.
Expression of Regression of Y on X
The regression equation of Y on X is expressed as follows:
Yc= a + bX
In this equation a and b are constants (fixed numerals values) which determines the position of the line completely. These constants are called the parameters of the line. If the value of either or both of them is changed, another line is determined. The parameter 'a' determines the intercept, i.e., what will be the value of Y ( dependent variable) when X (independent variable) takes the value zero. The parameter 'b' determines the slope of the line i.e., the change in Y per unit change in X. The symbol Yc stands for the value of Y computed from the relationship for a given X. Please express your views of this topic need help with math homework for free by commenting on blog.
If the values of the constants 'a' and 'b' are obtained, the line is completely determined. But the question is how to obtain these values. The answer is provided by the methods of Least Squares which states that the line should be drawn through the plotted points in such a manner that the sum of the squares of the deviations of the actual Y values from the computed Y values is the least, or other words, in order to obtain a line which fits the points best `sum` (Y - Yc)2 should be minimum. Such a line is known as the line of 'best fit.'
A Straight Line Fitted by least Squares has the Following Characteristics(regression of Y on X)
It gives the best fit to the data in the sense that it makes the sum of the squared deviations from the line, `sum` (Y - Yc)2 , smaller than they would be from any other straight line. This property accounts for the name 'Least Square.'
The deviation above the line equal those below the line, on the average. This means that the total of the positive and the negative is zero , or `sum` (Y - Yc) = 0.
The straight line goes through the overall mean of the data `( barX barY )`.
When the data represent a sample from a larger population, the least squares line is a 'best' estimate of the population regression line.
With a little algebra and differential calculus it can be shown that the following two equations, if solved simultaneously, will yield values of the parameters a and b such that the least squares requirement is fulfilled :
`sumY = Na + bsum X`
`sumXY = a sumX + b sumX^2`
These equations are usually called the normal equations. In the equations `sumX, sumY, sumXY, sumX^2` indicates totals which are computed from the observed pairs of values of two variables X and Y to which the least squares estimating line is to be fitted and N is the number of observed pairs of values.
Regression Equation of X on Y
Regression Equation of X on Y is expressed as follows:
Xc = Na +bY
To determine the values of a and b the following two normal equations are to be solved simultaneously.
`sumX = Na + bsum Y`
`sumXY = a sumY + b sumY^2`
Illustration of Regression of Y on X
From the following data obtain the Regression Equation of Y on X
X 6 2 10 4 8
Y 9 11 5 8 7
Solution. :
OBTAINING REGRESSION EQUATION
`X` `Y` `XY` X^2
6 9 54 36
2 11 22 4
10 5 50 100
4 8 32 16
8 7 56 64
`sumX = 30` `sumY = 40` `sumXY = 214`
Regression Equation of Y on X :
Yc = a + bX
To determine the value of a and b the following two normal equations are to be solved
`sumX = Na + bsumX`
`sumXY = asumX + bsumX^2`
Substituting the values
40 = 5 a + 30 b .................(i)
214 = 30a + 220b ..................(ii)
Multiplying equation (i) by 6 : 240 = 30a +180b ..................(iii)
214 = 30a + 220b ..................(iv)
Deducting equation (iv) from (iii)
- 40b = 26
or b = -0.65
Substituting the value of b in equation (i)
40 = 5a + 30 (-0.65)
or 5a = 40 + 19.5 = 59.5
or a = 11.9
Putting the values of a and b in the equation, the regression of Y on X is
Y = 11.9 - 0.65X
Regression equations, also known as estimating equations, are algebraic expressions of the regression lines. Since there are two regression lines, there are two regression equations - the regression equation of X on Y is used to describe the variations in the values of X for given changes in Y and the regression equation of Y on X is used to describe the variation in the values of Y for given changes in X. I like to share this Logistic Regression Model with you all through my article.
Expression of Regression of Y on X
The regression equation of Y on X is expressed as follows:
Yc= a + bX
In this equation a and b are constants (fixed numerals values) which determines the position of the line completely. These constants are called the parameters of the line. If the value of either or both of them is changed, another line is determined. The parameter 'a' determines the intercept, i.e., what will be the value of Y ( dependent variable) when X (independent variable) takes the value zero. The parameter 'b' determines the slope of the line i.e., the change in Y per unit change in X. The symbol Yc stands for the value of Y computed from the relationship for a given X. Please express your views of this topic need help with math homework for free by commenting on blog.
If the values of the constants 'a' and 'b' are obtained, the line is completely determined. But the question is how to obtain these values. The answer is provided by the methods of Least Squares which states that the line should be drawn through the plotted points in such a manner that the sum of the squares of the deviations of the actual Y values from the computed Y values is the least, or other words, in order to obtain a line which fits the points best `sum` (Y - Yc)2 should be minimum. Such a line is known as the line of 'best fit.'
A Straight Line Fitted by least Squares has the Following Characteristics(regression of Y on X)
It gives the best fit to the data in the sense that it makes the sum of the squared deviations from the line, `sum` (Y - Yc)2 , smaller than they would be from any other straight line. This property accounts for the name 'Least Square.'
The deviation above the line equal those below the line, on the average. This means that the total of the positive and the negative is zero , or `sum` (Y - Yc) = 0.
The straight line goes through the overall mean of the data `( barX barY )`.
When the data represent a sample from a larger population, the least squares line is a 'best' estimate of the population regression line.
With a little algebra and differential calculus it can be shown that the following two equations, if solved simultaneously, will yield values of the parameters a and b such that the least squares requirement is fulfilled :
`sumY = Na + bsum X`
`sumXY = a sumX + b sumX^2`
These equations are usually called the normal equations. In the equations `sumX, sumY, sumXY, sumX^2` indicates totals which are computed from the observed pairs of values of two variables X and Y to which the least squares estimating line is to be fitted and N is the number of observed pairs of values.
Regression Equation of X on Y
Regression Equation of X on Y is expressed as follows:
Xc = Na +bY
To determine the values of a and b the following two normal equations are to be solved simultaneously.
`sumX = Na + bsum Y`
`sumXY = a sumY + b sumY^2`
Illustration of Regression of Y on X
From the following data obtain the Regression Equation of Y on X
X 6 2 10 4 8
Y 9 11 5 8 7
Solution. :
OBTAINING REGRESSION EQUATION
`X` `Y` `XY` X^2
6 9 54 36
2 11 22 4
10 5 50 100
4 8 32 16
8 7 56 64
`sumX = 30` `sumY = 40` `sumXY = 214`
Regression Equation of Y on X :
Yc = a + bX
To determine the value of a and b the following two normal equations are to be solved
`sumX = Na + bsumX`
`sumXY = asumX + bsumX^2`
Substituting the values
40 = 5 a + 30 b .................(i)
214 = 30a + 220b ..................(ii)
Multiplying equation (i) by 6 : 240 = 30a +180b ..................(iii)
214 = 30a + 220b ..................(iv)
Deducting equation (iv) from (iii)
- 40b = 26
or b = -0.65
Substituting the value of b in equation (i)
40 = 5a + 30 (-0.65)
or 5a = 40 + 19.5 = 59.5
or a = 11.9
Putting the values of a and b in the equation, the regression of Y on X is
Y = 11.9 - 0.65X
No comments:
Post a Comment