Professional Documents
Culture Documents
s 2 = MSE = SSE/(n - 2)
where:
SSE=σ 𝑦𝑖 − 𝑦ො𝑖 2 = σ 𝑦𝑖 − 𝑏0 − 𝑏1 𝑥𝑖 2
SSE
s = MSE =
𝑛−2
H0: b1 = 0
Ha: b1 ≠ 0
• Test Statistic
𝑏1 𝑠
𝑡= where 𝑠𝑏1 =
𝑠𝑏1 σ 𝑥𝑖 − 𝑥ҧ 2
where:
t is based on a t distribution with n - 2 degrees of freedom
𝑏1
3. Select the test statistic. 𝑡=
𝑠𝑏1
4. State the rejection rule. Reject H0 if p-value < .005 or t > 3.355 (with
8 degrees of freedom)
6. Determine whether to reject H0. As t = 8.6 > 3.355 We can reject H0.
𝑦ො = 10 + 5x = b1 = 5
𝑏1 ± 𝑡𝛼/2 𝑠𝑏1
where
b1 is the point estimator,
𝑡𝞪/2 𝑠𝑏1 is the margin of error, and
ta/2 is the t value providing an area of /2 in the upper tail of a
t distribution with n - 2 degrees of freedom
• We can use a 95% confidence interval for b1 to test the hypotheses just
used in the t test.
• Conclusion
H0: b1 = 0
Ha: b1 ≠ 0
• Test Statistic
F = MSR/MSE
where:
F is based on an F distribution with
1 degree of freedom in the numerator and n - 2 degrees of
freedom in the denominator
𝑦ො ∗ ± 𝑡𝛼/2 𝑠𝑦ො ∗
where:
confidence coefficient is 1 - and t/2 is based on a t distribution with
n - 2 degrees of freedom
1 𝑥 ∗ − 𝑥ҧ 2
𝑠𝑦ො ∗ =𝑠 +
𝑛 σ 𝑥𝑖 − 𝑥ҧ 2
1 10 − 14 2
𝑠𝑦ො ∗ = 13.829 +
10 568
𝑦ො ∗ ± 𝑡𝛼/2 𝑠𝑦ො ∗
110,000 + 11,415
$98,585 to $121,415
1 𝑥 ∗ − 𝑥ҧ 2
𝑠𝑝𝑟𝑒𝑑 =𝑠 1+ +
𝑛 σ 𝑥𝑖 − 𝑥ҧ 2
1 10 − 14 2
𝑠𝑝𝑟𝑒𝑑 = 13. . 829 1 + +
10 568
𝑦ො ∗ ± 𝑡𝛼/2 𝑠𝑝𝑟𝑒𝑑
110,000 + 33,875
$76,125 to $143,875
• If the assumption that the variance of is the same for all values of x is
valid, and the assumed regression model is an adequate representation of
the relationship between the variables, then the residual plot should give
an overall impression of a horizontal band of points.
11/14/2021 Confidential - Prof. Vasanth Kamath, TAPMI 22
Residual Plot Against x
𝑦 − 𝑦ො
Good Pattern
Residual