In: Statistics and Probability
REGRESSION - USING CALCULATOR
1- You are given data for Xi (independent variable) and Yi (dependent variable).
2- Calculate the correlation coefficient, r:
3- Calculate the coefficient of determination:
4- Calculate the regression coefficient b1 (the slope):
5- Calculate the regression coefficient b0 (the Y-intercept, or constant):
6- The regression equation (a straight line) is:
Problem 2:
A researcher is interested in determining whether there is a relationship between shelf space and number of books sold for her bookstore.
Shelf Space in feet(X) |
Books Sold(Y) |
7.0 |
280 |
3.5 |
140 |
4.0 |
170 |
4.2 |
200 |
4.8 |
215 |
3.9 |
190 |
4.9 |
240 |
7.5 |
295 |
3.0 |
125 |
5.9 |
265 |
5.0 |
200 |
Coefficient of Determination
Explained variation = 0.909* 100 = 90.9%
Unexplained variation = 1 - 0.909* 100 = 9.1%
Equation of regression line is
b = ( 11 * 12070 - 53.7 * 2320 ) / ( 11 * 282.21 - ( 53.7
)^{2})
Slope b = 37.105
a =( 2320 - ( 37.1045 * 53.7 ) ) / 11
Intercept a = 29.772
Equation of regression line becomes
To Test :-
Test Criteria :-
Reject null hypothesis if
Result :- Reject null hypothesis
Decision based on P value
P - value = P ( t > 9.4587 ) = 0
Reject null hypothesis if P value <
level of significance
P - value = 0 < 0.05 ,hence we reject null hypothesis
Conclusion :- We reject H0
There is statistically linear relationship between variables.