ch.9 tests of hypotheses for a single sample · test of a hypothesis •hypotheses are statements...
TRANSCRIPT
![Page 1: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/1.jpg)
1
CH.9 Tests of Hypotheses for a Single Sample
• Hypotheses testing• Tests on the mean of a normal distribution-
variance known• Tests on the mean of a normal distribution-
variance unknown• Tests on the variance and standard deviation of a
normal distribution• Tests on a population proportion• Testing for goodness of fit
![Page 2: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/2.jpg)
2
9-1 Hypothesis Testing9-1.1 Statistical Hypotheses
Statistical hypothesis testing and confidence interval estimation of parameters are the fundamental methods used at the data analysisstage of a comparative experiment, in which the engineer is interested, for example, in comparing the mean of a population to a specified value.
Statistical inference may be divided into two major areas:• Parameter estimation• Hypothesis testing
![Page 3: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/3.jpg)
3
9-1 Hypothesis Testing9-1.1 Statistical Hypotheses
For example, suppose that we are interested in the burning rate of a solid propellant used to power aircrew escape systems.
• Now burning rate is a random variable that can be described by a probability distribution.
• Suppose that our interest focuses on the mean burning rate (a parameter of this distribution).
• Specifically, we are interested in deciding whether or not the mean burning rate is 50 centimeters per second.
![Page 4: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/4.jpg)
4
9-1 Hypothesis Testing9-1.1 Statistical Hypotheses
null hypothesis
alternative hypothesis
One-sided Alternative Hypotheses
Two-sided Alternative Hypothesis
![Page 5: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/5.jpg)
5
9-1 Hypothesis Testing9-1.1 Statistical Hypotheses
Test of a Hypothesis•Hypotheses are statements about population or distribution under study.
•A procedure leading to a decision about a particular hypothesis
• Hypothesis-testing procedures rely on using the information in a random sample from the population of interest.
• If this information is consistent with the hypothesis, then we will conclude that the hypothesis is true (fail to reject hypothesis); if this information is inconsistent with the hypothesis, we will conclude that the hypothesis is false (reject hypothesis).
![Page 6: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/6.jpg)
6
9-1 Hypothesis Testing9-1.2 Tests of Statistical Hypotheses
Decision criteria for testing H0:μ = 50 cm/s versus H1:μ ≠ 50 cm/s.
![Page 7: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/7.jpg)
7
9-1 Hypothesis Testing9-1.2 Tests of Statistical Hypotheses
Decision criteria for testing H0:μ = 50 cm/s versus H1:μ ≠ 50 cm/s.
Acceptance RegionCritical Region Critical Region
critical values
![Page 8: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/8.jpg)
8
9-1 Hypothesis Testing9-1.2 Tests of Statistical HypothesesTwo wrong conclusions are possible:
Type I Error
Type II Error
![Page 9: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/9.jpg)
9
9-1 Hypothesis Testing9-1.2 Tests of Statistical Hypotheses
Sometimes the type I error probability is called the significance level, or the α-error, or the size of the test.
![Page 10: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/10.jpg)
10
9-1 Hypothesis Testing
2.5 0.7910X n
σσ = = =
9-1.2 Tests of Statistical Hypotheses
Ex: σ =2.5 n=10 Standard deviation of the sample mean:
xμ
Xσ
![Page 11: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/11.jpg)
11
9-1 Hypothesis Testing
X
Z1.90-1.90 0
Probability distribution of
Correspondingprobability distribution of Z
Critical Region for 0 1: 50 : 50H Hμ μ= ≠
![Page 12: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/12.jpg)
12
9-1 Hypothesis Testing
How can we reduce α ?- by widening acceptance region
(if take critical values 48 and 52, α =0.0114, Verify !)- by increasing sample size
(if take n=16, α =0.0164 Verify !)
![Page 13: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/13.jpg)
13
9-1 Hypothesis Testing
The probability of type II error when μ = 52 and n = 10.
![Page 14: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/14.jpg)
14
9-1 Hypothesis Testing
![Page 15: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/15.jpg)
15
9-1 Hypothesis Testing
The probability of type II error when μ = 50.5 and n = 10.
![Page 16: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/16.jpg)
16
9-1 Hypothesis Testing
![Page 17: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/17.jpg)
17
9-1 Hypothesis Testing
The probability of type II error when μ = 52 and n = 16.
![Page 18: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/18.jpg)
18
9-1 Hypothesis Testing
![Page 19: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/19.jpg)
19
9-1 Hypothesis Testing
• Generally α is controlable when critical values are selected.• Thus, rejection of null hypothesis H0 is a strong conclusion.• β is not constant but depends on the true value of the parameter and
sample size.• Accepting H0 is a weak conclusion unless β is acceptably small.• Prefer the terminology “fail to reject H0” rather than “accept H0”• Fail to reject H0
– implies we have not found sufficient evidence to reject H0.– does not necessarily mean there is a high probability that H0 is true.– means more data are required to reach a strong conclusion.
![Page 20: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/20.jpg)
20
9-1 Hypothesis Testing
Power
• The power is computed as 1 - β, and power can be interpreted as the probability of correctly rejecting a false null hypothesis. We often compare statistical tests by comparing their power properties.
• For example, consider the propellant burning rate problem whenwe are testing H 0 : μ = 50 cm/s against H 1 : μ not equal 50 cm/s . Suppose that the true value of the mean is μ = 52. When n = 10, we found that β = 0.2643, so the power of this test is 1 - β = 1 - 0.2643 = 0.7357 when μ = 52.
![Page 21: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/21.jpg)
21
9-1 Hypothesis Testing
9-1.3 One-Sided and Two-Sided HypothesesTwo-Sided Test:
One-Sided Tests:
![Page 22: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/22.jpg)
22
9-1 Hypothesis Testing
Example 9-1
• Suppose if the propellant burning rate is less than 50 cm/s• Want to show this with a strong conclusion CLAIM• Hypotheses should be stated as
H0: μ = 50 cm/sH1: μ < 50 cm/s
• Since the rejection of H0 is always a strong conclusion, thisstatement of the hypotheses will produce the desired outcome ifH0 is rejected.
• Although H0 is stated with an equal sign, it is understood toinclude any value of μ not specified by H1.
• Failing to reject H0 does not mean μ = 50 cm/s exactly.• Failing to reject H0 means we do not have strong evidence in
support of H1.
![Page 23: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/23.jpg)
23
9-1 Hypothesis Testing
The bottler wants to be sure that the bottles meet the specification on mean internal pressure or bursting strength, which for 10-ounce bottles is a minimum strength of 200 psi.
The bottler has decided to formulate the decision procedure for a specific lot of bottles as a hypothesis testing problem.
There are two possible formulations for this problem: either
or
Which is correct? Depends on the objective of the analysis.
![Page 24: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/24.jpg)
24
9-1 Hypothesis Testing9-1.4 P-Values in Hypothesis Tests•When H0 is rejected at a specified α level, this gives no idea aboutwhether the computed value of the test statistic
• is just barely in the rejection region
• or it is very far into this region.
•Thus, P-value has been adopted widely in practice
![Page 25: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/25.jpg)
25
9-1 Hypothesis Testing9-1.4 P-Values in Hypothesis TestsConsider the two-sided hypothesis test for burning rate:
H0 : μ = 50 cm/sH1 : μ ≠ 50 cm/s
n=16, σ=2.5,
P-value?
x 51.3=
![Page 26: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/26.jpg)
26
9-1 Hypothesis Testing
x 51.3=
9-1.5 Connection between Hypothesis Tests and Confidence IntervalsClose relation between hypothesis tests and confidence intervals
H0 : μ = 50 cm/s n=16, σ=2.5, α=0.05, H1 : μ ≠ 50 cm/s
Critical z values are zα/2=z0.025=1.96 and –z0.025=-1.96 which corresponds to
Critical values = [48.775 ; 51.225]2.550 1.9616
±
x 51.3= is not in the acceptance region [48.775 ; 51.225]. So reject null hypothesis.
Confidence interval for μ at α=0.05 is
That is
2.551.3 1.9616
±
50.075 52.525≤ μ ≤
μ=50 is not in the confidence interval [50.075 ; 52.525]. So reject null hypothesis.
same conclusion !
![Page 27: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/27.jpg)
27
9-1 Hypothesis Testing9-1.5 Connection between Hypothesis Tests and Confidence Intervals
![Page 28: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/28.jpg)
28
1. From the problem context, identify the parameter of interest.2. State the null hypothesis, H0 .3. Specify an appropriate alternative hypothesis, H1 .4. Choose a significance level, α.5. Determine an appropriate test statistic.6. State the rejection region for the statistic.7. Compute any necessary sample quantities, substitute these
into the equation for the test statistic, and compute that value.8. Decide whether or not H0 should be rejected and report that in
the problem context.
9-1 Hypothesis Testing
9-1.6 General Procedure for Hypothesis Tests
![Page 29: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/29.jpg)
29
9-2 Tests on the Mean of a Normal Distribution, Variance Known
9-2.1 Hypothesis Tests on the Mean
We wish to test:
The test statistic is:
![Page 30: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/30.jpg)
30
9-2 Tests on the Mean of a Normal Distribution, Variance Known
9-2.1 Hypothesis Tests on the Mean
Reject H0 if the observed value of the test statistic z0 is either:
z0 > zα/2 or z0 < -zα/2
Fail to reject H0 if -zα/2 < z0 < zα/2
![Page 31: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/31.jpg)
31
9-2 Tests on the Mean of a Normal Distribution, Variance Known
Example 9-2
![Page 32: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/32.jpg)
32
9-2 Tests on the Mean of a Normal Distribution, Variance Known
Example 9-2
![Page 33: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/33.jpg)
33
9-2 Tests on the Mean of a Normal Distribution, Variance Known
Example 9-2
![Page 34: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/34.jpg)
34
9-2 Tests on the Mean of a Normal Distribution, Variance Known
9-2.1 Hypothesis Tests on the Mean
![Page 35: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/35.jpg)
35
9-2 Tests on the Mean of a Normal Distribution, Variance Known
9-2.1 Hypothesis Tests on the Mean (Continued)
![Page 36: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/36.jpg)
36
9-2 Tests on the Mean of a Normal Distribution, Variance Known
![Page 37: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/37.jpg)
37
9-2 Tests on the Mean of a Normal Distribution, Variance Known
9-2.1 Hypothesis Tests on the Mean (Continued)
![Page 38: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/38.jpg)
38
9-2 Tests on the Mean of a Normal Distribution, Variance Known
P-Values in Hypothesis Tests
![Page 39: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/39.jpg)
39
9-2 Tests on the Mean of a Normal Distribution, Variance Known
9-2.2 Type II Error and Choice of Sample SizeFinding the Probability of Type II Error β
![Page 40: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/40.jpg)
40
9-2 Tests on the Mean of a Normal Distribution, Variance Known
9-2.2 Type II Error and Choice of Sample SizeFinding the Probability of Type II Error β
The distribution of Z0 under H0 and H1
![Page 41: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/41.jpg)
41
9-2 Tests on the Mean of a Normal Distribution, Variance Known
9-2.2 Type II Error and Choice of Sample SizeFinding the Probability of Type II Error β
0 if δ>0
Let zβ be the 100β upper percentile of the standard normal distr. β = Φ(-zβ)
/ 2nz zβ α
δσ
− −
![Page 42: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/42.jpg)
42
9-2 Tests on the Mean of a Normal Distribution, Variance Known
9-2.2 Type II Error and Choice of Sample SizeSample Size Formulas
For a two-sided alternative hypothesis:
![Page 43: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/43.jpg)
43
9-2 Tests on the Mean of a Normal Distribution, Variance Known
9-2.2 Type II Error and Choice of Sample SizeSample Size Formulas
For a one-sided alternative hypothesis:
![Page 44: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/44.jpg)
44
9-2 Tests on the Mean of a Normal Distribution, Variance Known
Example 9-3
504949.216 50.784
Under H1: µ≠50 Under H0: µ=50H0: µ=50H1: µ≠50σ=2α=0.05n=25If true µ=49, β=?
z0.025 =1.96
Critical points are:50 ± z0.025σ/√n
= 50 ± 1.96*2/549.216 and 50.784
![Page 45: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/45.jpg)
45
9-2 Tests on the Mean of a Normal Distribution, Variance Known
Example 9-3
5049 49.216 50.784
Under H1: µ≠50 Under H0: µ=50
H0: µ=50H1: µ≠50σ=2α=0.05n=25If true µ=49, β=?
( )
(49.216 50.784 when =49)49.216 49 50.784 49
2 / 25 2 / 250.54 4.46 0.295
P X
P Z
P Z
β μ
β
β
= ≤ ≤
− −⎛ ⎞= ≤ ≤⎜ ⎟⎝ ⎠
= ≤ ≤ =0.295 0.54z zβ = =
![Page 46: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/46.jpg)
46
9-2 Tests on the Mean of a Normal Distribution, Variance Known
Example 9-3
N(-2.5,1) N(0,1)
0-2.5 -1.96 1.96
Under H1: µ≠50 Under H0: µ=50
Standardize thenormal graphs
( )
( 1.96 1.96 when = -2.5)1.96 2.5 1.96 2.5
1 10.54 4.46 0.295
P X
P Z
P Z
β μ
β
β
= − ≤ ≤
− + +⎛ ⎞= ≤ ≤⎜ ⎟⎝ ⎠
= ≤ ≤ =
With standard normal graph:
1* 25 1* 251.96 1.962 2
(4.46) (0.54) 0.295
β
β
⎛ ⎞ ⎛ ⎞− −=Φ − −Φ − −⎜ ⎟ ⎜ ⎟⎜ ⎟ ⎜ ⎟
⎝ ⎠ ⎝ ⎠=Φ −Φ =
With the formula:
1
1* 25 2.52
n
δ
δσ
= −
−= = −
![Page 47: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/47.jpg)
47
9-2 Tests on the Mean of a Normal Distribution, Variance Known
Example 9-3
![Page 48: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/48.jpg)
48
9-2 Tests on the Mean of a Normal Distribution, Variance Known
9-2.2 Type II Error and Choice of Sample SizeUsing Operating Characteristic Curves
I I
![Page 49: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/49.jpg)
49
9-2 Tests on the Mean of a Normal Distribution, Variance Known
Example 9-4
![Page 50: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/50.jpg)
50
9-2 Tests on the Mean of a Normal Distribution, Variance Known
9-2.3 Large Sample Test
If the distribution of the population is not known, but n>40sample standard deviation “s” can be substituted for “σ” andtest procedures in Section 9.2 are valid.
![Page 51: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/51.jpg)
51
9-3 Tests on the Mean of a Normal Distribution, Variance Unknown
9-3.1 Hypothesis Tests on the MeanOne-Sample t-Test
![Page 52: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/52.jpg)
52
9-3 Tests on the Mean of a Normal Distribution, Variance Unknown
9-3.1 Hypothesis Tests on the Mean
The reference distribution for H0: μ = μ0 with critical region for (a) H1: μ ≠ μ0 , (b) H1: μ > μ0, and (c) H1: μ < μ0.
![Page 53: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/53.jpg)
53
9-3 Tests on the Mean of a Normal Distribution, Variance Unknown
Example 9-6
![Page 54: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/54.jpg)
54
9-3 Tests on the Mean of a Normal Distribution, Variance Unknown
Example 9-6
![Page 55: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/55.jpg)
55
9-3 Tests on the Mean of a Normal Distribution, Variance Unknown
Example 9-6
Normal probability plot of the coefficient of restitution data from Example 9-6.
![Page 56: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/56.jpg)
56
9-3 Tests on the Mean of a Normal Distribution, Variance Unknown
Example 9-6
![Page 57: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/57.jpg)
57
9-3 Tests on the Mean of a Normal Distribution, Variance Unknown
9-3.2 P-value for a t-TestThe P-value for a t-test is just the smallest level of significance at which the null hypothesis would be rejected.
t0 = 2.72, this is between two tabulated values, 2.624 and 2.977. Therefore, the P-value must be between 0.01 and 0.005.
0.005<P-value<0.01.
Suppose t0 = 2.72 for a two-sided test, then
0.005*2<P-value<0.01*2 0.01<P-value<0.02
![Page 58: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/58.jpg)
58
9-3 Tests on the Mean of a Normal Distribution, Variance Unknown
9-3.3 Type II Error and Choice of Sample Size
The type II error of the two-sided alternative would be
Where denotes the noncentral t random variable. 0T ′
![Page 59: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/59.jpg)
59
9-3 Tests on the Mean of a Normal Distribution, Variance Unknown
Example 9-7
![Page 60: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/60.jpg)
60
9-4 Hypothesis Tests on the Variance and Standard Deviation of a Normal Distribution9-4.1 Hypothesis Test on the Variance
![Page 61: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/61.jpg)
61
9-4 Hypothesis Tests on the Variance and Standard Deviation of a Normal Distribution9-4.1 Hypothesis Test on the Variance
The same test statistic is used for one-sided alternative hypotheses. For the one-sided hypothesis
![Page 62: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/62.jpg)
62
9-4 Hypothesis Tests on the Variance and Standard Deviation of a Normal Distribution
9-4.1 Hypothesis Test on the Variance
![Page 63: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/63.jpg)
63
9-4 Hypothesis Tests on the Variance and Standard Deviation of a Normal Distribution
Example 9-8
![Page 64: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/64.jpg)
64
9-4 Hypothesis Tests on the Variance and Standard Deviation of a Normal Distribution
Example 9-8
![Page 65: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/65.jpg)
65
9-4 Hypothesis Tests on the Variance and Standard Deviation of a Normal Distribution
9-4.2 Type II Error and Choice of Sample Size
For the two-sided alternative hypothesis:
Operating characteristic curves are provided in Charts VIIi and VIIj.
![Page 66: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/66.jpg)
66
9-4 Hypothesis Tests on the Variance and Standard Deviation of a Normal Distribution
Example 9-9
![Page 67: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/67.jpg)
67
9-5 Tests on a Population Proportion
9-5.1 Large-Sample Tests on a Proportion
Many engineering decision problems include hypothesis testing about p.
An appropriate test statistic is
![Page 68: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/68.jpg)
68
9-5 Tests on a Population Proportion
Example 9-10
![Page 69: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/69.jpg)
69
9-5 Tests on a Population Proportion
Example 9-10
![Page 70: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/70.jpg)
70
9-5 Tests on a Population Proportion
Another form of the test statistic Z0 is obtained bydividing the numerator and denominator by n
or
![Page 71: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/71.jpg)
71
9-5 Tests on a Population Proportion9-5.2 Type II Error and Choice of Sample Size
For a two-sided alternative
If the alternative is p < p0
If the alternative is p > p0where p is true value of thepopulation proportion
![Page 72: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/72.jpg)
72
9-5 Tests on a Population Proportion
1
(1 )H
p pn
σ −= 0
0 0(1 )H
p pn
σ −=
0 01 2 2 2o H o HC p z C p zα ασ σ= − = +
9-5.2 Type II Error and Choice of Sample SizeLess complex representation:
Critical values (C1 and C2 ) are:
1 1
1 1
1 1
1 1
1 2
1 2
2 1
ˆ( )
( )H H
H H
H H
H H
P C P CC C
P Z
C C
βμ μ
σ σ
μ μσ σ
= < <− −
= < <
⎛ ⎞ ⎛ ⎞− −= Φ −Φ⎜ ⎟ ⎜ ⎟⎜ ⎟ ⎜ ⎟
⎝ ⎠ ⎝ ⎠
Type II error is:
![Page 73: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/73.jpg)
73
9-5 Tests on a Population Proportion
9-5.3 Type II Error and Choice of Sample Size
For a two-sided alternative
For a one-sided alternative
![Page 74: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/74.jpg)
74
9-5 Tests on a Population ProportionExample 9-11
01 0.05 1.645(0.0154) 0.0247o HC p zασ= − = − =
Critical value (C1 ) is:
1
0.03(0.97) 0.012200Hσ = = 0
0.05(0.95) 0.0154200Hσ = =
( )
1ˆ( )
0.0247 0.03( )0.012
1 0.44 0.67
P C P
P Z
β = <−
= <
= −Φ − =
![Page 75: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/75.jpg)
75
9-5 Tests on a Population Proportion
Example 9-11
![Page 76: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/76.jpg)
76
9-7 Testing for Goodness of Fit • The test is based on the chi-square distribution.
• Assume there is a sample of size n from a population whose probability distribution is unknown.
• Let Oi be the observed frequency in the ith class interval.
• Let Ei be the expected frequency in the ith class interval.
The test statistic
has approximately chi-square distribution with k-p-1 degrees of freedom.
p: number of parameters of the hypothesized distribution estimated bysample statistics.
![Page 77: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/77.jpg)
77
Example 9-12
9-7 Testing for Goodness of Fit
![Page 78: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/78.jpg)
78
9-7 Testing for Goodness of Fit
Example 9-12
![Page 79: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/79.jpg)
79
9-7 Testing for Goodness of Fit
Example 9-12
![Page 80: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/80.jpg)
80
9-7 Testing for Goodness of Fit
Example 9-12
![Page 81: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/81.jpg)
81
9-7 Testing for Goodness of Fit
Example 9-12
![Page 82: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/82.jpg)
82
9-7 Testing for Goodness of Fit
Example 9-12
![Page 83: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/83.jpg)
83
9-7 Testing for Goodness of Fit Example 9-13
![Page 84: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/84.jpg)
84
9-7 Testing for Goodness of Fit Example 9-13
X=5.04+Z*0.08
Z X
-1.15 4.95
-0.68 4.99
-0.32 5.01
0 5.04
0.32 5.07
0.68 5.09
1.15 5.13
![Page 85: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/85.jpg)
85
9-7 Testing for Goodness of Fit Example 9-13
![Page 86: CH.9 Tests of Hypotheses for a Single Sample · Test of a Hypothesis •Hypotheses are statements about population or distribution under study. •A procedure leading to a decision](https://reader035.vdocument.in/reader035/viewer/2022081523/5fd15ce0df17336c9177484d/html5/thumbnails/86.jpg)
86
9-7 Testing for Goodness of Fit