Documente Academic
Documente Profesional
Documente Cultură
6. 37 44
7. 45 61
8. 27 33
9. 65 71
10. 23 37
Study Hours (X) Test Score % (Y) X - Xbar Y-Ybar Sqr (X-Xbar) Sqr (Y-Ybar) (X-Xbar)(Y-Ybar)
Correlation Coefficient
Regression
Regression
Linear Regression
Regression
Linear Regression
Study Hours (X) Test Score % (Y) XY X2 Y2
Hypothesis Testing
Hypothesis:
A claim that we want to test
Null Hypothesis - H0
- Default position / Currently accepted
position / Assumed / Status Quo
Alternate Hypothesis – Ha
- Claim to be tested. Also known as
Research Hypothesis or the other option.
Hypothesis Testing
Null Hypothesis - H0
H0 : μ = 150cc
Alternate Hypothesis – Ha
Ha : μ ≠ 150cc
Two possibilities:
- Reject Null Hypothesis
- Fail to Reject Null Hypothesis
Hypothesis Testing
Two possibilities:
- Reject Null Hypothesis
- Fail to Reject Null Hypothesis
H0 : μ ≥ 150cc
Ha : μ < 150cc
H0 : μ = 150cc
Ha : μ ≠ 150cc
Hypothesis Testing
Using 10 samples:
x̄ = 150cc
x̄ = 153cc
x̄ = 167cc
Statistically where do you draw the line?
H0 : μ = 150cc
Ha : μ ≠ 150cc
Hypothesis Testing
Level of Confidence / Confidence Interval:
Level of Significance:
Rejection Region
Nonrejection Region
Hypothesis Testing - Visual Critical Value
Using 1 samples:
α = 0.05
150cc
153cc
167cc
Alpha vs Critical Value
α = 0.01
α = 0.05
α = 0.10
α = 0.05
Hypothesis Testing - Visual
Using 4 samples:
x̅ = 150cc
x̅ = 153cc
x̅ = 167cc
Types of Errors
True State of Nature
H0 Ha
Is true Is true
Support H0 /
Reject Ha Correct Type II Error
Conclusion
Conclusion Support Ha /
Reject H0 Type I Error Correct
Conclusion
Types of Errors
Type I error (alpha) Type II error (beta)
Name Producer’s risk/ Significance Consumer’s risk
level
Z-Test vs t-Test
Z-Test vs t-Test
H0 : μ = 150cc
t-Test
Ha : μ ≠ 150cc
150 -1.8 3.24
151 -0.8 0.64
153 1.2 1.44
150 148 -3.8 14.4
151 149 -2.8 7.84
153 150 -1.8 3.24
148 152 0.2 0.04
149 155 3.2 10.2
150 154 2.2 4.84
152 156 4.2 17.6
155 63.6
154
156 7.07
2.66
t-Test
H0 : μ = 150cc
Ha : μ ≠ 150cc Level of Significance α = 0.05
150
151
153
148
149
150
152
155
154
156
t-Test
H0 : μ = 150cc
Ha : μ ≠ 150cc
Level of Significance α = 0.05
150
151
153
148
149
150
152
155
154
156
Analysis of Variance (ANOVA)
x1 x2
6 11
8 12
10 9
8 11
8 12
Null Hypothesis - H0
Method 1 Method 2 Method 3
6 11 4
8 12 7 There is no difference between three methods
9
7
9
13
3
6
H0 : μ1 = μ2 = μ3
8 12 4
Alternate Hypothesis – Ha
x1 x1-x1 bar (x1-x1 bar)2 x2 x2-x2 bar (x2-x2 bar)2 x3 x3-x3 bar (x3-x3 bar)2
6 -2 4 11 0 0 4 1 1
8 0 0 12 1 1 7 2 4
10 2 4 9 2 4 3 2 4
8 0 0 11 0 0 6 1 1
8 0 0 12 1 1 5 0 0
8 8 11 6 5 10
SS DF MS F Value
SS Between 90 2 45 22.5
SS Within 24 12 2
SS DF MS F Value
SS
Between 90 2 45 22.5
SS Within 24 12 2
Critical Value of F
F(0.05,2,12) = 3.8853
Analysis of Variance (ANOVA)