STA301 Assignment 2 Solution Fall 2012

No Comments
Q2:

Question no 02 part a

If coefficient of skewness is zero then distribution is symmetric or zero skewed.\
\

question no 2 part b
The least squares regression line

The least squares regression line is the line which produces the smallest value of the sum of the squares of the residuals. A residual is the vertical distance from a point on a scatter diagram to the line of best fit. Therefore the least squares regression line can be seen as the best line of best fit.
The equation of the least squares regression line of y on x is:


Where b is:


As you can see there are 3 different ways to calculate the value for b, based on what information you are given in the question
Example

Calculate the least squared regression line of y on x from the following data:
x
203040506070
y
2.492.412.382.141.972.03
Firstly draw up a table of the values you need and fill it out. In this example we'll use the third equation for b so we need all the values of x2and xiyi:
x
y
x2
xiyi
202.4940049.9
302.4190072.3
402.38160095.2
502.142500107
601.973600118.2
702.034900142.1
Sum:
27013.4213900584.7
Next step is to calculate the means of the x and y values:




Now the value of b can be calculated:
Hence the equation is therefore:


Cleaning it up:



















Name:  statidea1.jpg Views: 131 Size:  159.9 KB
Next PostNewer Post Previous PostOlder Post Home

0 comments

Post a Comment