Documente Academic
Documente Profesional
Documente Cultură
Todays Agenda:
Hypothesis Testing on Proportion
Choice of Sample Size
Hypothesis
Testing
Hypothesis
Testing
x o
zo
n
Hypothesis Test on Mean,
Normal Distribution, Variance Unknown
x o
to
s
n
Hypothesis
Testing
Hypothesis
Testing
x np o
np o (1 p o )
Hypothesis
Testing
Hypothesis
Testing
1. The proportion of defective toy balls, p
2. Ho: p = 0.08
3. H1: p 0.08
4. a = 0.05
5.zo
x np o
np o (1 p o )
x np o
np o (1 p o )
6 (80)(0.08)
(80)(0.08)(0.92)
0.16485
Hypothesis
Testing
1. The proportion of defective toy balls, p
2. Ho: p = 0.05
3. H1: p < 0.05
4. a = 0.05
5.zo
x np o
np o (1 p o )
zo
x np o
np o (1 p o )
4 (200)(0.05)
(200)(0.05)(0.95)
1.95
Hypothesis
Testing
Power of a Statistical
testCorrectly rejecting the null hypothesis when
it is false
Power = 1
Hypothesis
Testing
Suppose that the null hypothesis is false (Type II Error) and the
mean actually deviates such that the true value of the mean is
= 0 + . The test statistic becomes:
x o x ( o )
zo
n
n
n
Hypothesis
Testing
n
n
za
za
2
2
za
2
Assuming
this to be
very small
Hypothesis
Testing
(za / 2 z )2 2
Hypothesis
Testing
Ten measurements of weight of potato chip packs were done for a
certain manufacturing company. Historical data states that the
distribution of the weight of potato chip packs are normally
distributed with population standard deviation of 1.07g. Suppose that
the analyst wishes to design the test (with significance level of =
0.05)
0.05) so
so that
that ifif the
the true
true mean
mean weight
weight differs
differs from
from 101g
101g by
by 0.5g,
0.5g, the
the
testtest
will detect
will detect
this (i.e.
this
reject
(i.e. Hreject
101)
= 101)
a high
with
probability
a high of
0: = H
0: with
probability
90%.of
Find
90%.
the Find
required
the required
sample size.
sample size.
n
a = 0.05
(za / 2 z )2 2
2
=?
Power = 0.9 = 1
= 0.10
= 1.07
= 0.5
Hypothesis
Testing
Ten measurements of weight of potato chip packs were done for a
certain manufacturing company. Historical data states that the
distribution of the weight of potato chip packs are normally
distributed with population standard deviation of 1.07g. Suppose that
the analyst wishes to design the test (with significance level of =
0.05) so that if the true mean weight differs from 101g by 0.5g, the
test will detect this (i.e. reject H0: = 101) with a high probability of
90%. Find the required sample size.
(za / 2 z )2 2
2
(z0.025 z0.10)2(1.07)2
n
(0.5)2
n 49
Hypothesis
Testing
OC Curves
These curves plot against a parameter d
for various sample sizes n
Hypothesis
Testing
Hypothesis
Testing
Hypothesis
Testing
Hypothesis
Testing
Hypothesis
Testing
Hypothesis
Testing
Ten measurements of weight of potato chip packs were done
for a certain manufacturing company. Historical data states
that the distribution of the weight of potato chip packs are
normally distributed with population standard deviation of
1.07g. If the true mean weight is 101.75g and the hypothesized
value of the mean is 101g, what is the probability of Type II
Error ?
101 101.75
1.07
0.75
1.07
0.70094
n = 10
What OC curve will we use?
Z- test, Two sided, alpha = 0.05
Hypothesis
Testing
d = 0.7
n = 10
= 0.4
Hypothesis
Testing
Hypothesis
Testing
Hypothesis
Testing
Hypothesis
Testing
Next Time on IE 27
Goodness of Fit
Hypothesis Testing on Two Samples
Sourc: Taha
.Fin.