Download presentation
Presentation is loading. Please wait.
1
Statistical Inference about Regression
Regression & Correlation Analysis Lesson 8-1 Statistical Inference about Regression Explanation of the hypothesis testing procedure for simple linear regression coefficient π
2
What is Statistical inference?
3
Difference between Population & Sample Regression
Population Regression Sample Regression
4
Hypothesis Testing β General Procedure
5
Testing Hypothesis β Procedure about Regression Coefficient π
Step 1 Stat the hypothesis. π»0 : π½=0 and π»1 : π½β 0 π»0 : π½β€0 and π»1 : π½>0 π»0 : π½β₯0 and π»1 : π½<0 Step 2 Decide the level of significance. Here, we set the value of πΌ=5%=0.05
6
General formula format
Many hypotheses are tested using a statistical test based on the following general formula: πππ π‘ ππππ’π= πππ πππ£ππ π£πππ’π β(πΈπ₯ππππ‘ππ π£πππ’π) ππ‘ππππππ πππππ The observed value is the βstatisticβ (such as the mean) that is computed from the sample data. The expected value is the βparameterβ (such as the mean) that you would expect to obtain if the null hypothesis were true. In other words, the hypothesized value. The denominator is the standard error of the statistic being tested (in this case, the standard error of the mean). π‘= πβπ½0 π.πΈ(π) It is t-test. It depends on Degree of Freedom = df = n-2
7
Required calculations
Step 4 Know and do the required calculations and find the test value. π‘= πβπ½0 π.πΈ(π) π= π ππ β( π )( π) π π2 β π 2 π= π βπ π π ππ= πβ π 2 πβ2 = π2βπ πβπ ππ πβ2 π π= π ππ πβ π 2
8
Critical Value, Comparison and Conclusion
Step 5 Use t-table to find the critical values. Plot these values on bell shaped curve. Compare calculated value with table value Conclude and summarize the result
9
Testing Hypothesis β Example
Height (X) Weight(Y) 60 110 135 120 62 140 130 64 150 145 70 170 185 160 For the Given data: Estimate the regression line from the following data of height (X) and Weight (Y) Test the hypothesis that the height and weight are independent.
10
Testing Hypothesis β Example
Step 1 Stat the hypothesis. π»0 : π½=0 (There is NO slop. There is NO linear relationship.) π»1 : π½β 0 (There exist linear relationship) Step 2 We set the level of significance (alpha) πΌ=0.05 Step 3 The test-statistic (formula) to be used is: π‘= πβπ½0 π.πΈ(π) It follows t-distribution with degree of freedom df = n-2
11
Computation X Y XX YY XY 60 110 3600 12100 6600 135 18225 8100 120 14400 7200 62 3844 7440 140 19600 8680 130 16900 8060 8370 64 150 4096 22500 9600 145 21025 9280 70 170 4900 28900 11900 185 34225 12950 160 25600 11200 766 1700 49068 246100 109380
12
What we need to calculate?
Step 4 Do necessary computations from data and solve the formula using these values. π‘= πβπ½0 π π π= π ππ β( π )( π) π π2 β π 2 π ππ= πβ π 2 πβ2 = π2βπ πβπ ππ πβ2
13
Letβs do calculations Step 4 π= π ππ β( π )( π) π π2 β π 2 = = =
π= π ππ β( π )( π) π π2 β π 2 = = = π= π βπ π = =
14
Letβs do calculations Step 4 π ππ= πβ π 2 πβ2 =
15
Critical Value from t-table
Step 5 : Find the 0.05 column in the top row and 16 in the left-hand column. Where the row and column meet, the appropriate critical value is found.
16
Decision Rule Step 5 Conclusion and Summarizing:
Since the computed value of t=6.89 falls in the critical region, so we reject the null hypothesis and may conclude that there is sufficient reason to say with 95% confidence that height and weight are related.
17
An other example β Do yourself
In linear regression problem, the following sums were computed from a random sample of size 10. Using 5% level of significance, test the hypothesis that the population regression coefficient, Ξ² is greater than 0.5. Hint:
18
Hint π»0 : π½ 0 π»1 : π½>0 (Given claim) T est formula =π‘= πβπ½0 π π
π»0 : π½ π»1 : π½>0 (Given claim) T est formula =π‘= πβπ½0 π π π= π ππ β( π )( π) π π2 β π 2 π ππ= πβ π 2 πβ2 = π2βπ πβπ ππ πβ2
19
Summary Remember the all hypothesis-testing situations using the traditional method should include the πππ π‘ ππππ’π= πππ πππ£ππ π£πππ’π β(πΈπ₯ππππ‘ππ π£πππ’π) ππ‘ππππππ πππππ State the null and alternative hypotheses and identify the claim. State an alpha level and find the critical value(s). Compute the test value. Make the decision to reject or not reject the null hypothesis. Summarize the results.
20
The END
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.