Professional Documents
Culture Documents
a) Our null hypothesis Ho is: Indeed the mean value is 53 or higher. { Ho : μ>53 }. The alternate
hypothesis is { HA : μ < 53}. Let’s find the probability of Ho P(μ > 53)=Pwhich is smaller than
95% and thus, we reject the null hypothesis ( i.e. the mean value does not have a significant
probability of being bigger than 53 MPa.
b) The P-value is simply α = 1 – P(x>53)=1 – 0.897 =10.3%.
The α-error occurs when we reject Ho when it is in fact true. This happens when the value of μ
is so small that we say it is “almost impossible” to happen. The “impossible” here is equivalent
to having a probability of less than 5% of being smaller than x { Or having a probability of 95%
of being bigger than x } . Thus, for α = 5% = P(μ < x), this gives x =a
Example / Continue
• c ) The β error happens when you accept Ho while it is in fact wrong. Since
we now know the true mean, we can decide when we are wrong or correct
about the “estimated mean” .
i) Based on the old mean (55), we accepted Ho when μ. But now the true mean
is 52 MPa { i.e. Ho : μ>53 is wrong}, so the probability of accepting Ho when the
mean was wrong is P(μ) but using the new “correct” mean value of 52. So, this
gives
ii) If the true mean is 54 MPa, then the null hypothesis (Ho : μ>53) is correct ,
so: and the power of the test is 1. ( i.e. the test is 100% effective in accept the
null hypothesis).
• Of course, the “true” mean here is supposed to be the “real” population
mean.
Cases for Hypothesis Tests and the P-Value
• Depending on the context in question, there can be three cases for testing H o:
1. Ho: x > xo , This is called one-sided test, and this is testable by verifying that P(x > x o ) > 1
–α
2. Ho: x < xo , This is also called one-sided test, and this is testable by verifying that P(x <
xo ) > 1-α { or P(x > xo ) < α }
3. Ho: x = xo, This is called two-sided test, and is verifiable by checking if P( -xo < x < xo ) = 1
– α , { or P (x < -xo) > α/2 or P (x > xo) > α/2 }
Similar to 3. above, we can have a hypothesis Ho: x1<x<x2, and this is verifiable that the
probability of such a case is significant.
• Another common approach is to calculate the values which satisfy the significance criteria
and the compare it to the claimed (hypothesized) mean values.
• The P-Value for the test is measure of the significance level itself for accepting Ho based
on the claimed mean value, i.e. the actual α value. For the case 1 above for example, α =
P-value = 1 – P(x > xo )
Sample Size Based on an Acceptable β Error
• Let’s
say we have sample of size n and mean of and stand. Dev. taken from a normal
population. Suppose that we have the hypotheses Ho : μ = μo , and HA : μ ≠ μo .
• To test Ho, we must have , thus we accept Ho if μo or μo
• Suppose that { based on more information} the true mean was ≠ μo and that Ho was therefore wrong. Based
on this new information, we can compute the probability of making a wrong decision ( Type II Error) because
now we have the “true” distribution for the mean (with ).
• Let’s say we will allow a variation in the mean by a magnitude δ = - μo , therefore, the mean
of the sampling distribution is shifted by d, thus, the standardized normal shift is , and let
the allowed probability of Type II error computed using the new data be here will be the
shifted normalized mean as compared to the original value based on which we accepted
Ho.i.e, . From this, we can compute the required sample size to achieve both and d as
Example
• In a lab experiment, 30 specimens were tested for a material with a mean of
25 kN and standard deviation of 15 kN.
• A) Check, using 95% confidence, if the true mean value of the material is at
least 20 kN.
• B) If the new target mean is now 25 kN, what is the sample size needed to
achieve a error of 5% in obtaining it by the experiment.
A) Our Null Hypothesis is Ho: μ > 20 , and this is testable by checking if the
probability of such hypothesis is significant: P(X>20)>0.95, this is equivalent
to P(Z>(20-25)/(15/)) = P(Z>-1.8)= 96%. Thus, we accept Ho.
B) Here, the allowed variation in the mean = 25-20=5 , and the acceptable
error in making a false decision (Beta) = 0.05, thus, , s=15, thus specimens.
Operating Characteristic Curves
• The process of determining
the sample size for a given
tolerance in both the mean
and probability of Type II
error can be converted into
practical curves.
• These curves are function of
relative tolerance in the mean
d = |δ|/σ and the probability
of Ho being true ( i.e. 1– β ).
• These curves are useful for
designing experiments based
on an acceptable level of
error for detecting a mean
value.