Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Statistical decisions
We study the sample data and then make decisions about the
population from which the sample is drawn. Such decisions
are called statistical decisions.
Statistical hypotheses
They are statements or assumptions which may or may not be
true concerning one or more populations. On the basis of
sample information, these hypotheses will be tested. Normally,
the hypothesis to be tested is formulated in the sole purpose of
being rejected or nullified. This hypothesis is called the null
hypothesis, denoted by H0. We have to formulate the other
hypothesis which differs from the null hypothesis and it is
usually called the alternative hypothesis, denoted by H1 or H a .
Accept H0 Reject H0
Decision
Hypothesis
If H0 is true Correct decision. Type I error.
Probability = 1 - α Probability = α
corresponding to corresponding to
‘confidence level ‘ ‘significance level ‘
If H0 is false Type II error Correct decision.
Probability = β Probability = 1 - β
corresponding to ‘
power ‘
Left-tailed test
2-tailed test
Procedures for testing statistical hypotheses
2
(1) State the assumptions or known facts about:-
(5) Make decision. If the test statistic falls in the CR, then we
reject H0 otherwise we accept it and draw conclusion.
H0 : μ μ0 or H0 : μ μ0 or H0 : μ = μ0
H1 : μ < μ0 H0 : μ > μ0 H1 : μ μ0
(left-tailed test) (right-tailed test) (2-tailed test)
Test A (Z - test )
3
Model : Population is normal with known standard deviation σ
.
OR
Population is not normal with known standard
deviation σ and sample size n 30.
X o
The test statistic is Z= where X
X n
______________
______________
At α significance level, the CR = {z / z > zα }
______________
5
(ii) The sample size is large , n 30.
X o s
The test statistic is t = SX where SX
n
which follows a t-
distribution with (n-1) degrees of freedom.
______________
______________
At α significance level, the CR = {t / t > t α, n-1 }
______________
7
Tests of hypotheses concerning the difference of means of
two populations
H0 : d
1 2 or H0 : d
0 1 2 or H0 : d
0 1 2 0
H1: d
1 2 0 H 1: d
1 2 0H1 : d
1 2 0
Test D (Z-test)
Model: The two populations are normal with known standard
8
deviations 1 and 2 .
( x1 x 2 ) d 0 1 2
2 2
( x1 x 2 ) d 0 2
s1 s
2
( x1 x 2 ) d 0
The test statistic is t = sx x
1 2
10
degrees of freedom.
t
At α significance level, the CR = {t / t > 2
, n1 n2 2 }
s1 = 20 s2 = 25
H0 : p p0 or H0 : p p0 or H0 : p = p0
H1 : p < p0 H1 : p > p0 H1 : p p0
(Left-tailed test) (Right-tailed test) (2-tailed test)
where p0 is a predetermined constant.
12
if the new training method is better using 5% significance
level.
x2 p 2 (1 p 2 )
p2 ~ N ( p2 , ) approximately when n1 , n2 are large.
n2 n2
p1 q1 p q
V (p p2 ) = V( p ) + V ( p ) = 2 2
1 1 2 n1 n2
13
p1 q1 p2 q2
The standard error of p1 p 2 =
p1 p 2
= n1
n2
(i) If p1 = p2 = p known, the standard error of p1 p 2 is
pq pq 1 1
p1 p 2
= n1
n2
pq (
n1
n2
)
(ii) If p1 = p2 = p unknown, the standard error of p1 p 2 is
S
1 1 x1 x 2
estimated by
p1 p 2 = pq (
n1
n2
) where p
n1 n 2
S
1 1 x1 x 2
p1 p 2
= pq (
n1
n2
) and p
n1 n2
D ( X Y ) X Y ( X Y )
The test statistic is t = SD
SD
which
follows a student’s t - distribution with (n – 1) degrees of freedom.
15
(a) Left-tailed test Ho : X Y 0 against H1 : X Y 0
t t
At sig. level, the C.R. = { t / 2
, n 1 }
E.g. A new product was introduced into the market in January 1997. After a poor year for sales,
the manufacturer initiated an intensive advertising campaign during January 1998. The table below
records the sales, in thousand dollars, for a one-month period before and a one-month period after the
advertising campaign, for each of eleven regions.
Region A B C D E F G H I J K
Sales
Before 2.4 2.6 3.9 2.0 3.2 2.2 3.3 2.1 3.1 2.2
2.8
Sales
After 3.0 2.5 4.0 4.1 4.8 2.0 3.4 4.0 3.3 4.2
3.9
The sales may be assumed to follow a normal distribution.
Determine, at the 5% sig. level, whether an increase in sales has
occurred .
Solution:
Region A B C D E F G H I J
K
Sales
Before(X)2.4 2.6 3.9 2.0 3.2 2.2 3.3 2.1 3.1 2.2
2.8
16
After (Y) 3.0 2.5 4.0 4.1 4.8 2.0 3.4 4.0 3.3 4.2
3.9
D= Y-X
D= ; D =
2
17