








Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!









A statistical hypothesis is an assumption about the frequency function(s) (i.e., PDF or pdf) of one or more random variables. Stated in simpler terms, a statistical hypothesis is an assumption about the parameter(s) of one or more population(s)
In the above examples, H 0 is called the null hypothesis while H 1 is called the alternative hypothesis (note that Devore uses the notation Ha for the alternative hypothesis but his notation is not as prevalent in Statistical Literature as is H 1 ). Further, the above examples indicate that, just like confidence intervals (CIs), there are two types of hypotheses: two-sided and one-sided. The alternative H 1 (or Ha) always determines whether a hypothesis is one or 2-sided. If the statement under H 1 involves ≠≠≠≠ , then the hypothesis is 2-sided; otherwise, the statement under H 1 will either include < for a left-tailed test, or will include > for a right-tailed test. Therefore, Examples (a), (d) and (e) above constitute 2-sided hypotheses, while Example (b) formulates a right-tailed test, and (c) and (f) are left-tailed tests. Finally, bear in mind that the equality sign "=" generally will be used only in the statement under H 0 (almost never under H 1 ). In the remaining of this chapter, we will study
Hypothesis testing about parameters of two populations will be discussed in Chapter 9 of Devore. Just like in the case of CIs (confidence intervals), the
be used to conduct a parametric test of hypothesis. That is to say, the null
σσσσ^2 is known. The null hypothesis H 0 : σσσσ = σσσσ 0 must be tested using the SMD of (n
−−−− 1)S^2 / σσσσ^2 , which is χχ χχ (^) n^2 −− −− 1. The null hypothesis H 0 : μμμμ = μμμμ 0 , when σσσσ^2 is unknown, must
1 degrees of freedom (df). The critical (or rejection) region of a null hypothesis is that part of range space of the test statistic that corresponds to the rejection of H 0. In testing a statistical hypothesis, any one of the following four circumstances may occur.
H 0 is true H 0 is false
Reject H 0
Event ≈≈≈≈ “ Type I Error, or False Positive” Occurrence Pr = αααα = LOS
True Positive (or Sensitivity) →→→→ Correct Decision Occurrence Pr = 1 −−−− ββββ Do not reject H 0 (or Accept H 0 )
True Negative (or Specificity of the test) →→→→ Correct Decision Occurrence Pr = 1 −−−− αααα
Event ≈≈≈≈ “ Type II Error, or False Negative” Occurrence Pr = ββββ
Note that once a decision about H 0 is made based on sample data, then the above 4 circumstances reduce to only two possibilities. For example, if a data set provides sufficient evidence to reject H 0 , then the experimenter has either committed a type I error or has made a correct decision [cells (1, 1) and (1, 2), respectively]. And vice a versa when sample data does not provide sufficient evidence to reject H 0. Further, the Pr of rejecting H 0 given that H 0 is false is called the power of the statistical test (or the sensitivity of the test), which, from cell (1, 2) of the above table, is clearly equal to 1 −−−− ββββ. Finally, the question arises as to when an experimenter should conduct a 2- sided test, and when a one-sided test is warranted? This author recommends a 2-
provides sufficient evidence, at the 5% level, to conclude that μμμμ > 1250 psi. The Pr of committing a type I error, αααα , is also called the level of significance (LOS) of the test, or the size of the critical (or rejection) region.
Exercise 64. For the above example, determine if the sample mean x = 1260 provides sufficient evidence to reject H 0 at the 1% level of significance. ANS: No.
The obvious question is: "Given the result of a sample, what is the smallest LOS at which H 0 can be barely rejected"? For the Example 38, we could reject H 0 at αααα = 0.05 but could not reject H 0 at αααα = 0.01 (from Exercise 64). Further, we can barely reject H 0 at the 2.5% level but not at the 2% LOS. After the test statistic is computed, the smallest LOS at which H 0 can be rejected, denoted by ααααˆ , is also referred to as the probability level (or the P - value ) of the test. That is, the P - value of a statistical test is the smallest LOS at which H 0 can be barely rejected after a random sample has been drawn and the corresponding sample statistic computed.
αααα = 0. 1250 Au=1258.
P-value = ααααˆ is, the stronger the evidence is against the validity of H 0. Before leaving this section, we must state the fact that all CIs are tests of hypotheses in disguise for all possible values of the parameter under H 0. To illustrate this fact, recall the results of Example 36 (pp. 96 – 98 of STAT 3600) where we obtained the 95% lower one-sided CI for the mean breaking strength to be 1251.7750 < μμμμ < ∞∞∞∞. The rejection of our null hypothesis H 0 : μμμμ = 1250 vs H 1 : μμμμ > 1250 at αααα = 0.05 is consistent with the 95% CI 1251.7750 < μμμμ < ∞∞∞∞ because the hypothesized mean value μμμμ 0 ≡≡≡≡ 1250 is outside the 95% CI [1251.7750, ∞∞∞∞ ). Then,
evidence at (^) αααα = 0.05 to reject H 0 : μμμμ = 1252 vs H 1 : (^) μμμμ > 1252 because μμμμ 0 ≡≡≡≡ 1252 is inside the 95% CI 1251.7750 < (^) μμμμ < ∞∞∞∞.
( −−−−∞ , 1268.225), which includes the hypothesized value of 1250 and hence in contradiction to the decision of rejecting H 0 : μμμμ =1250 at the 5% level.
STAT3600 notes is consistent with the test result of Exercise 64.
COMPUTING A TYPE II ERROR PROBABILITY ββββ
Since ββββ is the Pr of accepting H 0 if H 0 is false, then when testing H 0 : μμμμ = μμμμ 0 , the Pr statement for ββββ of the Example 38 is given by
To illustrate the computation of ββββ , again consider the Example 38, where H 0 : μμμμ = 1250 and H 1 : μμμμ > 1250 psi. Suppose the true mean value is μμμμ = 1255, i.e., H 0 is now false. Then, what is the Pr of accepting H 0 : μμμμ = 1250 with a random sample of size 25 before the sample is drawn given that the population mean μμμμ = 1255 ≠≠≠≠ μμμμ 0? The
tests, ββββ = 1 −−−− αααα at μμμμ = μμμμ 0 , but for right-tailed tests, ββββ > 1 −−−− αααα if μμμμ < μμμμ 0 , and for a left- tailed test ββββ > 1 −−−− αααα if μμμμ > μμμμ 0.
Example 38, draw the OC curve by computing and tabulating the values of ββββ
It must be clear by now that if H 0 is 2-sided, then the critical region of the test is divided equally at the left and right tails of the distribution of the test statistic, and
vice a versa for a right-tailed test. Further, always bear in mind that (^) ββββ gives the Pr
which 1 −−−− ββββ ≥≥≥≥ αααα is said to be unbiased, and a statistical test for which the value of 1 −−−− ββββ →→→→ 1 as n →→→→ (^) ∞∞∞∞ is said to be consistent
derive the minimum value of n if αααα = 0.05 and ββββ = 0.01 at μμμμ = 1350. Compute the critical levels, or P-values , of your tests in all cases.
UNIVERSE WITH UNKNOWN VARIANCE σσσσ^2
sampling distribution follows that of the Student’s-t with (n −−−− 1) df. We illustrate the
is on the average less than 50 decibels. A random sample of n = 14 compressors has noise levels 53, 48, 49, 57, 45, 46, 54, 47, 49, 50, 48, 44, 46, 51 dB. Our objective is to test H 0 : μμμμ = 50, at αααα = 0.05, versus the alternative H 1 : μμμμ < 50 dB putting the burden of proof on the manufacturer. Note that a claim by a manufacturer should generally be placed under H 1. Since this is a left-tailed test, the rejection region of the test statistic
t0.95(13) = −−−− 1.771 < t 0 , we do not quite have sufficient evidence to reject H 0 at the 5%
pre-assigned LOS αααα = 0.05 because the sample did not provide sufficient evidence to reject H 0. Now suppose the true mean noise level of the manufacturer's compressors is
is approximately 1 −−−− ββββ = 0.43, i.e., the power of the test at μμμμ = 48.5 is roughly 43%. The exact value of 1 −−−− ββββ from Minitab is 0.4228 (Open Minitab →→→→ STAT →→→→ Power and Sample Size →→→→ 1-sample t, in the Dialogue Box insert 14 for sample sizes,
0.017255, which as expected, is less than the prescribed LOS (^) αααα = 0.05. Although, S is not a linear sum of independent rvs, yet its SMD very slowly
applications the normal approximation is fairly accurate for n > 60. From Figure 16,
exact value 0.017255. Observe that even a sample of size n = 51 is not sufficiently large for an adequate normal approximation.
0.
0.
32.36 71.
50 f( χχχχ 2 )
= Pr(32.36 (^2) 02
σσσσ = 0.30)
The above exact Pr of type II error could also be approximated from the OC curves if Devore had provided them. The abscissa of such OC curves would be
Runger (1994, Applied Statistics and Probability For Engineers ) to obtain the approximate ordinate value of ββββ ≅≅≅≅ 0.50. As far as I have been able to ascertain, Minitab does not provide power values for a χχχχ^2 test either. Therefore, Excel has to
αααα^ ˆ^ / 2
which as expected, far exceeds the pre-assigned LOS of 5%. The 95% CI for p is given by 0 ≤≤≤≤ p ≤≤≤≤ 0.5420, which clearly agrees with the above test result because the hypothesized value of p, p 0 ≡≡≡≡ 0.50, is well inside this CI = 0 ≤≤≤≤ p ≤≤≤≤ 0.5420.
If the normal approximation to the binomial is not adequate, then the binomial test on a population proportion must be conducted using the Bin(n, p) distribution directly. To illustrate, I will compute the exact critical level of the test for the Example 8.11 of J. L. Devore’s 5th^ edition.
47 x 0
====
= 0.24417232 = binocdf(47, 102, 0.50)
approximation is fairly inadequate because the correction for continuity of 1/(2n)
normal approximation to the binomial, we will obtain
0. AL= 0.
= ΦΦΦΦ ( −−−− 0.6931) = 0.24412, which is almost identical to the exact value of 0.24417. Therefore, if n < 50, use the exact procedure for the binomial test of
sufficient doubt about the validity of H 0.
Devore and exercises 71 & 79 on page 322-3 of Devore.
Suppose in the Example, where X represented the number of doctors who knew the generic name for Methdone, the true value of p were equal to 0.40. Then,
power of the test at p = 0.40 is given by 1 −−−− ββββ = 0.6493.
ββββ