| Regression Analysis |
|
Linear Regression is the process to develop an equation to express the linear ( straight line ) relationship between two variables. For example , incase there is a correlation between two variables amount of money spent on advertising by Apple Computers and number of Apple computers sold, we may want to ascertain an equation that will fit the trend in data for us to be able to predict sales for varying amounts of ad spend. Lets demonstrate this with an example: The Edison Electric company is studying the relationship between kilowatt hours ( thousands ) used and the number of rooms in a private single-family residence. A random sample of 10 homes yielded the following:
The Least Square Principle. Our judgment is removed by determining the regression line using a math method known as the least square principle. This method gives what is commonly called the best-fitting line. It minimizes the sum of squares of the vertical distances between the actual Y values and the predicted values of Y. General form of the regression equation is Y' = a + bX where Y' is the predicted value of Y variable for a
chosen X value. The values a and b in the regression equation are usually referred to as the estimated regression coefficients and they are computed as follows:
X is the value of independent variable Lets compute these values of b and a for our data
The equation is Y' = 2.15 + 0.625 X The scatter diagram and line graph are shown below:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Related Topic How to compute Arc Length (Rectangular) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||