Академический Документы
Профессиональный Документы
Культура Документы
𝜎𝜎 𝑠𝑠
This implies that [𝑦𝑦� ± 𝑧𝑧𝛼𝛼 ] 𝑎𝑎𝑎𝑎𝑎𝑎 [𝑦𝑦� ± 𝑧𝑧𝛼𝛼 ] are approximately
2 𝑛𝑛 2 𝑛𝑛
correct 100( 1 - 𝛼𝛼) % confidence intervals for 𝝁𝝁, no matter what
probability distribution describes the population sampled.
The second interval follows from the first by approximating 𝜎𝜎 by s.
Confidence Intervals Based on
Normal Distribution
Confidence Intervals Based on Normal
Distribution
�
𝑦𝑦−𝜇𝜇
The population of all possible values of has a normal distribution,
𝜎𝜎/ 𝑛𝑛
�
𝑦𝑦−𝜇𝜇
therefore, 𝑃𝑃(- 𝑧𝑧𝛼𝛼 ≤ ≤ 𝑧𝑧𝛼𝛼 ) ≈ 1 − 𝛼𝛼
2 𝜎𝜎/ 𝑛𝑛 2
This probability is the area under the curve of the standard normal
distribution between - 𝑧𝑧𝛼𝛼 and 𝑧𝑧𝛼𝛼 .
2 2
𝜎𝜎 𝜎𝜎
We can find that 𝑃𝑃[𝑦𝑦� − 𝑧𝑧𝛼𝛼 ≤ 𝜇𝜇 ≤ 𝑦𝑦� + 𝑧𝑧𝛼𝛼 ] ≈ 1 − 𝛼𝛼
2 𝑛𝑛 2 𝑛𝑛
Confidence Intervals Based on Normal
Distribution
𝜎𝜎
This implies that [𝑦𝑦� ± 𝑧𝑧𝛼𝛼 ] is an approximately correct 100(1 -𝛼𝛼)%
2 𝑛𝑛
confidence interval for 𝜇𝜇.
When we do not know the true value of the population standard
deviation 𝜎𝜎, we should use the 100(1 -𝛼𝛼)% confidence interval for 𝜇𝜇
𝑠𝑠
based on the normal distribution [𝑦𝑦� ± 𝑧𝑧𝛼𝛼 ] if the sample size n is
2 𝑛𝑛
large (say, at least 30).
If the sample size n is small and the population sampled is normally
distributed (or at least mound-shaped), we should use the 100(1 -𝛼𝛼)%
(𝑛𝑛−1) 𝑠𝑠
confidence interval for 𝜇𝜇 based on the t-distribution [𝑦𝑦� ± 𝑡𝑡[𝛼𝛼/2] ]
𝑛𝑛
An Illustration of the Central Limit Theorem
(b) Corresponding populations of all possible sample means for different sample sizes
Sample Size Determination
Suppose we wish to determine the sample size n so that we are 100(1 -
𝛼𝛼)% confident that 𝑦𝑦� is within B units of 𝜇𝜇.
We can determine the necessary sample as follows:
𝜎𝜎 𝒛𝒛(𝜶𝜶/𝟐𝟐) 𝝈𝝈 𝟐𝟐
𝑧𝑧𝛼𝛼 = 𝐵𝐵, therefore, 𝑧𝑧𝛼𝛼 𝜎𝜎 = 𝑛𝑛𝐵𝐵, and 𝒏𝒏 =
2 𝑛𝑛 2 𝑩𝑩
The test statistic t measures the distance between 𝑦𝑦� 𝑎𝑎𝑎𝑎𝑎𝑎 𝑐𝑐 (the value that
makes 𝐻𝐻0 true)
A test statistic nearly or exactly zero, provides little or no evidence to
support rejecting 𝐻𝐻0 in favor of 𝐻𝐻1 .
A positive test statistic substantially greater than zero, provides evidence to
support rejecting 𝑯𝑯𝟎𝟎 in favor of 𝑯𝑯𝟏𝟏 .
Similarly, a negative test statistic substantially less than zero, provides
evidence to support rejecting 𝐻𝐻0 in favor of 𝐻𝐻1 .
To decide how large in absolute value the test statistic must be, we consider
the errors that can be made in hypothesis testing.
Hypothesis Testing for a Population Mean
TESTING null hypothesis 𝐻𝐻0 : 𝜇𝜇 = 𝑐𝑐, VERSUS alternative hypothesis 𝐻𝐻1 : 𝜇𝜇 ≠ 𝑐𝑐.
Example: The G & B Corporation produces a 16-ounce bottle of Gem Shampoo. The bottles are filled by an automated bottle-
filling process. If, for a particular adjustment of the bottle-filling process, this process is substantially overfilling bottles or underfilling
bottles, then this process must be shut down and readjusted. Overfilling results in lost profits for G & B, while underfilling is unfair to
consumers. For a given adjustment of the bottle-filling process we consider the infinite population of all bottles that could potentially be
produced.
For each bottle there is a corresponding bottle fill (measured in ounces). We let µ denote the mean of the infinite population of all the
bottle fills. that could potentially be produced by (the particular adjustment of) the bottle-filling process. G & B has decided that it will
shut down and readjust the process if it can be very certain that it should reject the null hypothesis 𝑯𝑯𝟎𝟎 : µ = 16 in favor of the
alternative hypothesis 𝐻𝐻1 : 𝜇𝜇 ≠ 16.
𝐻𝐻0 says that the mean bottle fill is at the appropriate level.
𝐻𝐻1 says that the mean fill is above or below the desired 16 ounces.
Hypothesis Testing for a Population Mean
1. The probability
𝒏𝒏−𝟏𝟏 𝒏𝒏−𝟏𝟏
𝑷𝑷( −𝒕𝒕 𝜶𝜶 ≤ 𝒕𝒕 ≤ 𝒕𝒕 𝜶𝜶 )= 1-𝜶𝜶
𝟐𝟐 𝟐𝟐
Example: Consider the Gem Shampoo bottle fill problem. We can reject 𝑯𝑯𝟎𝟎
: µ = 16 in favor of the alternative hypothesis 𝐻𝐻1 : 𝜇𝜇 ≠ 16, by setting the
probability of a Type I error equal to 𝛼𝛼 if and only if the 100(1-
𝛼𝛼)% confidence interval for µ does not contain 16.
Calculate 𝛼𝛼
Hypothesis Testing for a Population Mean
Considerations In Setting 𝛼𝛼 And The Distinction Between Statistical And
Practical Significance
TestingG H0 : μ = c Versus H1 : μ > c
TESTING null hypothesis 𝐻𝐻0 : 𝜇𝜇 = 𝑐𝑐, VERSUS alternative hypothesis
𝐻𝐻1 : 𝜇𝜇 > 𝑐𝑐 by using a Rejection Point
A Lower One-Sided Confidence Interval
TESTING null hypothesis 𝐻𝐻0 : 𝜇𝜇 = 𝑐𝑐, VERSUS alternative hypothesis
𝐻𝐻1 : 𝜇𝜇 > 𝑐𝑐