- Ch. 7. “One sample” hypothesis tests for µ and σ
- Prof. Tesler
Math 186 Winter 2019
- Prof. Tesler
- Ch. 7: One sample hypoth. tests for µ, σ
Math 186 / Winter 2019 1 / 23
Ch. 7. One sample hypothesis tests for and Prof. Tesler Math 186 - - PowerPoint PPT Presentation
Ch. 7. One sample hypothesis tests for and Prof. Tesler Math 186 Winter 2019 Prof. Tesler Ch. 7: One sample hypoth. tests for , Math 186 / Winter 2019 1 / 23 Introduction Consider the SAT math scores again. Secretly, the
Math 186 / Winter 2019 1 / 23
Math 186 / Winter 2019 2 / 23
Math 186 / Winter 2019 3 / 23
Math 186 / Winter 2019 4 / 23
m−µ σ/ √n, the numerator depends on x1, . . . , xn while the
s/ √n, both the numerator and denominator are functions
Math 186 / Winter 2019 5 / 23
Math 186 / Winter 2019 6 / 23
!3 !2 !1 1 2 3 0.1 0.2 0.3 0.4 t!,df t distribution: t!,df defined so area to right is ! t pdf
Math 186 / Winter 2019 7 / 23
Student t Distribution with df Degrees of Freedom tα,df Area = α α df 0.20 0.15 0.10 0.05 0.025 0.01 0.005 1 1.3764 1.9626 3.0777 6.3138 12.7062 31.8205 63.6567 2 1.0607 1.3862 1.8856 2.9200 4.3027 6.9646 9.9248 3 0.9785 1.2498 1.6377 2.3534 3.1824 4.5407 5.8409 4 0.9410 1.1896 1.5332 2.1318 2.7764 3.7469 4.6041 5 0.9195 1.1558 1.4759 2.0150 2.5706 3.3649 4.0321 6 0.9057 1.1342 1.4398 1.9432 2.4469 3.1427 3.7074 7 0.8960 1.1192 1.4149 1.8946 2.3646 2.9980 3.4995 8 0.8889 1.1081 1.3968 1.8595 2.3060 2.8965 3.3554 9 0.8834 1.0997 1.3830 1.8331 2.2622 2.8214 3.2498
Math 186 / Winter 2019 8 / 23
Math 186 / Winter 2019 9 / 23
√n
√n
√n
√n
√n
√n
√ 6
√ 6
Math 186 / Winter 2019 10 / 23
√ 6
√ 6
√ 6
√ 6
√ 6
√ 6
√ 6
√ 6
√ 6
√ 6
√ 6
√ 6
Math 186 / Winter 2019 11 / 23
Math 186 / Winter 2019 12 / 23
Student t Distribution with df Degrees of Freedom tα,df Area = α α df 0.20 0.15 0.10 0.05 0.025 0.01 0.005 1 1.3764 1.9626 3.0777 6.3138 12.7062 31.8205 63.6567 2 1.0607 1.3862 1.8856 2.9200 4.3027 6.9646 9.9248 3 0.9785 1.2498 1.6377 2.3534 3.1824 4.5407 5.8409 4 0.9410 1.1896 1.5332 2.1318 2.7764 3.7469 4.6041 5 0.9195 1.1558 1.4759 2.0150 2.5706 3.3649 4.0321 6 0.9057 1.1342 1.4398 1.9432 2.4469 3.1427 3.7074 7 0.8960 1.1192 1.4149 1.8946 2.3646 2.9980 3.4995 8 0.8889 1.1081 1.3968 1.8595 2.3060 2.8965 3.3554 9 0.8834 1.0997 1.3830 1.8331 2.2622 2.8214 3.2498
Math 186 / Winter 2019 13 / 23
Math 186 / Winter 2019 14 / 23
Math 186 / Winter 2019 15 / 23
n
Math 186 / Winter 2019 16 / 23
3.
3 as k → ∞.
Math 186 / Winter 2019 17 / 23
1 2 3 4 1 2 3 4 5 !2
1
pdf 1 2 3 4 5 6 0.1 0.2 0.3 0.4 0.5 !2
2
2 4 6 8 0.05 0.1 0.15 0.2 0.25 !2
3
pdf 2 4 6 8 10 12 14 16 0.02 0.04 0.06 0.08 0.1 0.12 !2
8
Math 186 / Winter 2019 18 / 23
5 10 15 0.02 0.04 0.06 0.08 0.1 0.12 !2
",df
!2
df distribution: !2 ",df defined so area to left is "
!2
8
pdf 5 10 0.05 0.1 0.15 0.2 !2
0.025,5=0.831
!2
0.975,5=12.833
Two!sided Confidence Interval for H
0; df=5, "=0.050
!2
5
α,df as the number where the cdf (area left of it) is α:
df χ2 α,df ) = α
Math 186 / Winter 2019 19 / 23
α/2,n−1 = χ2 .025,5 = .831
1−α/2,n−1 = χ2 .975,5 = 12.832
χ2 Distribution with df Degrees of Freedom χp,df
2
Area = 1 − p Area = p p df 0.010 0.025 0.050 0.10 0.90 0.95 0.975 0.99 1 0.000157 0.000982 0.00393 0.015 2.705 3.841 5.023 6.634 2 0.020 0.050 0.102 0.210 4.605 5.991 7.377 9.210 3 0.114 0.215 0.351 0.584 6.251 7.814 9.348 11.344 4 0.297 0.484 0.710 1.063 7.779 9.487 11.143 13.276 5 0.554 0.831 1.145 1.610 9.236 11.070 12.832 15.086 6 0.872 1.237 1.635 2.204 10.644 12.591 14.449 16.811 7 1.239 1.689 2.167 2.833 12.017 14.067 16.012 18.475 8 1.646 2.179 2.732 3.489 13.361 15.507 17.534 20.090 9 2.087 2.700 3.325 4.168 14.683 16.918 19.022 21.665
Math 186 / Winter 2019 20 / 23
1
2
n
1 n−1
i=1(xi − m)2.
3
σ02
i=1 (xi−m)2 σ02
10000
4
α/2,n−1 and χ2 1−α/2,n−1.
.025,5 = .831
.975,5 = 12.832.
Math 186 / Winter 2019 21 / 23
Math 186 / Winter 2019 22 / 23
1
k = Z12 + · · · + Zk2.
k is the “chi-squared distribution
2
Math 186 / Winter 2019 23 / 23