Professional Documents
Culture Documents
Testing Statistical Hypotheses: David M. Lane. Et Al. Introduction To Statistics: Pp. 370-447
Testing Statistical Hypotheses: David M. Lane. Et Al. Introduction To Statistics: Pp. 370-447
ioc.pdf
ioc.pdf
ioc.pdf
These hypotheses usually involve population parameters, the nature of the population, the
relation between the populations, and so on.
Procedures leading to either the acceptance or rejection of statistical hypotheses are called
statistical tests.
These hypotheses usually involve population parameters, the nature of the population, the
relation between the populations, and so on.
Procedures leading to either the acceptance or rejection of statistical hypotheses are called
statistical tests.
These hypotheses usually involve population parameters, the nature of the population, the
relation between the populations, and so on.
Procedures leading to either the acceptance or rejection of statistical hypotheses are called
statistical tests.
ioc.pdf
Alternative Hypothesis (H1 ): is what is believe to be true if the null hypothesis is false.
Null Hypothesis: H0
Must contain condition of equality =, >,or 6
Test the Null Hypothesis directly: reject H0 or fail to reject H0
Alternative Hypothesis: H1
Must be true if H0 is false, correspondingly 6=, <,or >
`opposite' of Null Hypothesis
ioc.pdf
Alternative Hypothesis (H1 ): is what is believe to be true if the null hypothesis is false.
Null Hypothesis: H0
Must contain condition of equality =, >,or 6
Test the Null Hypothesis directly: reject H0 or fail to reject H0
Alternative Hypothesis: H1
Must be true if H0 is false, correspondingly 6=, <,or >
`opposite' of Null Hypothesis
ioc.pdf
Alternative Hypothesis (H1 ): is what is believe to be true if the null hypothesis is false.
Null Hypothesis: H0
Must contain condition of equality =, >,or 6
Test the Null Hypothesis directly: reject H0 or fail to reject H0
Alternative Hypothesis: H1
Must be true if H0 is false, correspondingly 6=, <,or >
`opposite' of Null Hypothesis
ioc.pdf
If you wish to support your claim, the claim must be stated so that it becomes the
alternative hypothesis.
H0 must always contain equality; however some claims are not stated using equality.
Therefore sometimes the claim and H0 will not be the same.
Ideally all claims should be stated that they are Null Hypothesis
Example
The problem: In the 1970s, 2029 year old men in the U.S. had a mean µ body weight of 77
kg. Standard deviation σ was 19 kg. We test whether mean body weight in
the population now diers.
ioc.pdf
The analysis plan describes how to use sample data to evaluate the null hypothesis.
Signicance level. Often, researchers choose signicance levels equal to 0.01, 0.05, or
0.10; but any value between 0 and 1 can be used.
Test method. Use the one-sample t-test to determine whether the hypothesized mean
diers signicantly from the observed sample mean. Alternative options are:
I the one-sample z-test
I the two-sample t-test
I the two-sample z-test
I etc.
ioc.pdf
Find the value of the test statistic (mean score, proportion, t statistic, z-score, etc.)
described in the analysis plan.
µx − µ0
z=
sx
µ0 = 77 and σ = 19.
Let's take a SRS of size n = 64.
ioc.pdf
µx − µ0
z=
sx
µ0 = 77 and σ = 19.
Let's take a SRS of size n = 64.
σ 19
sx = √ = √ = 2.375
n 64
µx − µ0 79 − 77
z= = = 0.842
sx 2.375 ioc.pdf
µx − µ0
z=
sx
µ0 = 77 and σ = 19.
Let's take a SRS of size n = 64.
µx − µ0 83 − 77
z= = = 2.652
sx 2.375
ioc.pdf
x 1 = 79
x 2 = 83
x 3 = 75
.
. .
.
.
.
Kilograms
Population mean µ0 = 77 kg
ioc.pdf
Type I error occurs when the researcher rejects a null hypothesis when it is true. The
probability of committing a Type I error is called the signicance level. This
probability is also called alpha, and is often denoted by α.
Type II error occurs when the researcher fails to reject a null hypothesis that is false. The
probability of committing a Type II error is called Beta, and is often denoted
by β. The probability of not committing a Type II error is called the Power of
the test.
ioc.pdf
α = P(H1 |H0 )
β = P(H0 |H1 )
ioc.pdf
The P-value corresponds to the answer the question: What is the probability of the
observed test statistic or one more extreme when H0 is true?
This is the area under the curve of the Standard Normal distribution beyond the z.
ioc.pdf
ioc.pdf
ioc.pdf
Examples:
ioc.pdf
P-value answers the question: What is the probability of the observed test statistic ...
when H0 is true?
Thus, smaller and smaller P-values provide stronger and stronger evidence against H0
Small P-value means strong evidence for H1 .
Conventions
Examples
ioc.pdf
Critical Region : is the set of all values of the test statistic that would cause a rejection of the
null hypothesis
ioc.pdf
Critical Region : is the set of all values of the test statistic that would cause a rejection of the
null hypothesis
ioc.pdf
Critical Region : is the set of all values of the test statistic that would cause a rejection of the
null hypothesis
ioc.pdf
Critical Value : is the value (s) that separates the critical region from the values that would
not lead to a rejection of H0 .
ioc.pdf
Critical Value : is the value (s) that separates the critical region from the values that would
not lead to a rejection of H0 .
ioc.pdf
Critical Value : is the value (s) that separates the critical region from the values that would
not lead to a rejection of H0 .
ioc.pdf
Recall:
α = P(H1 |H0 )
β = P(H0 |H1 ) = Pr (retain H0 |H0 is false) ≡ probability of a Type II error
ioc.pdf
Recall:
α = P(H1 |H0 )
β = P(H0 |H1 ) = Pr (retain H0 |H0 is false) ≡ probability of a Type II error
ioc.pdf
A study of n = 16 retains H0 : µ = 170 at α = 0.05 (two-sided); σ = 40. What was the power of
test's conditions to identify a population mean of 190?
√
|µ0 − µ1 | n
1−β = Φ −z1− α +
2 σ
√ !
|170 − 190| 16
= Φ −1.96 +
40
= Φ (0.04) = 0.5160
ioc.pdf
The probability of getting a value greater than 189.6 on the bottom curve is 0.5160,
corresponding to the power of the test
ioc.pdf
How large a sample is needed for a one-sample z test with 90% power and α = 0.05 (two-tailed)
when σ = 40? Let H0 : µ = 170 and H1 : µ = 190 (thus, ∆ = µ0 − µ1 = 170 − /190 = −20)
2
σ 2 z1−β + z1− α
40
2 (1.28 + 1.96)2
2
n= 2 = = 41.99
(−20)2
Round up to 42 to ensure adequate power.
ioc.pdf
ioc.pdf
ioc.pdf