Testing of Hypothesis For in Case of Simple Linear Regression Line
Testing of Hypothesis For in Case of Simple Linear Regression Line
Testing of Hypothesis For in Case of Simple Linear Regression Line
1 𝑥̅ 2
where 𝑆. 𝐸(𝑎) = √𝑠𝑎2 = 𝑠𝑦.𝑥 √ + ∑(𝑥−𝑥̅ )2
𝑛
2
∑(𝑦 − 𝑦̂)2
𝑠𝑦.𝑥 =
𝑛−2
3. H0 : α ≥ 32 vs H1 : α < 32 2. H0 : α ≤ 32 vs H1 : α > 32 1. H0 : α = 32 vs H1 : α ≠ 32
When
When
When
|𝑡𝑐𝑎𝑙 |≥ 𝑡𝛼 ,(n-2)
𝑡𝑐𝑎𝑙 ≤ −𝑡𝛼 ,(n-2) 𝑡𝑐𝑎𝑙 ≥ 𝑡𝛼 ,(n-2) 2
Find the linear regression equation from the following data:
X 65 50 55 65 55 70 65 70 55 70 50 55
Y 85 74 76 90 85 87 94 98 81 91 76 74
1. H0 : α = 32 vs H1 : α ≠ 32
X Y XY 𝑥2 𝑦2
65 85 5525 4225 7225
50 74 3700 2500 5476
55 76 4180 3025 5776
65 90 5850 4225 8100
55 85 4675 3025 7225
70 87 6090 4900 7569
65 94 6110 4225 8836
70 98 6860 4900 9604
55 81 4455 3025 6561
70 91 6370 4900 8281
50 76 3800 2500 5776
55 74 4070 3025 5476
725 1011 61685 44475 85905
12∗61685−725∗1011
The value of slope b= = 0.897 , a = 30.056
12∗44475−(725)2
Required regression line.
𝑦̂ = 30.056 + 0.897
∑(𝑥 − 𝑥̅ )2 = 672.917
Step 1:- Test of Hypothesis for 𝜶
1. H0 : 𝜶 = 32 vs H1 : 𝜶 ≠ 32
1 𝑥̅ 2
where 𝑆. 𝐸(𝑎) = √𝑠𝑎2 = 𝑠𝑦.𝑥 √ + ∑(𝑥−𝑥̅ )2
𝑛
2
∑(𝑦 − 𝑦̂)2
𝑠𝑦.𝑥 =
𝑛−2
2
∑(𝑦 − 𝑦̂)2 186.939
𝑠𝑦.𝑥 = = = 18.6393
𝑛−2 10
1 (68.42)2
𝑆. 𝐸(𝑎) = √𝑠𝑎2 = 4.3236√ + = √0.0833 + 6.9567 = 11.47
12 672.917
30.056 − 32 −1.944
𝑡= = = −0.169
11.47 11.47
Step 5:- Decision rule
1. H0 : α = 32 vs α ≠ 32
When
𝑡𝑐𝑎𝑙 = −0.169
|𝑡𝑐𝑎𝑙 |≥ 𝑡𝛼 ,(n-2)
2 𝑡𝛼 ,(n-2)
2
|-0.169|≥ 2.228
Alpha in present case 0.05
0.169≥ 2.228
Finally conclusion:-
Do not Reject H0
Decision rule:
H0 : α ≤ 32 vs H1 : α > 32
When
Decision rule:
H0 : α ≥ 32 vs H1 : α < 32
When
𝑡𝟎.𝟎𝟓 ,(12-2)