Beruflich Dokumente
Kultur Dokumente
Basic Concepts
Testing a Hypothesis on the Population Mean
Testing a Hypothesis on Proportions
Testing the Difference Between Two Population Means
Testing the Difference Between Two Proportions
Testing of Independence
Basic Concepts
A statistical hypothesis is a conjecture concerning one or more populations whose
veracity can be established using sample data. The null hypothesis, denoted as Ho,
is a statistical hypothesis which the researcher doubts to be true. The alternative
hypothesis, denoted as Ha, is the operational statement of the theory that the
researcher believes to be true and wishes to prove and is a contradiction of the null
hypothesis.
We can only determine whether or not the sample data provide us with sufficient
evidence supporting Ha.
Basic Concepts
A one-tailed test of hypothesis is a test where Ha specifies a one-directional
difference for the parameter of interest. A two-tailed test of hypothesis is a test
where Ha does not specify a directional difference for the parameter of interest.
Example:
Null Hypothesis
Ho: p = 15
Ho: p = 15
Alternative Hypothesis
Ha: p < 15
Ha: p > 15
Ho: p = 15
Ha: p 15
Basic Concepts
A test statistic is a statistic whose value is calculated from sample data, which will
be the basis for deciding whether to reject Ho or not in a test of hypothesis.
The critical region or region of rejection is the set of values of the test statistic for
which we reject Ho. The acceptance region or region of nonrejection is the set of
values of the test statistic for which we do not reject Ho. These two regions are
separated by the critical value of the test statistic.
Basic Concepts
The Type I error is the error committed when we decide to reject Ho when in
reality Ho is true. The Type II error is the error committed when we decide not to
reject Ho when in reality Ho is false.
Basic Concepts
The p-value is the probability of selecting a sample whose computed value for the
test statistic is equal to or more extreme (in the direction stated in Ha) than the
realized value computed from the sample data, given that Ho is true.
It is often referred to as the observed level of significance.
Rule: If the p-value , reject Ho.
Reading Assignment: Section 15.1 of Elementary Statistics
Basic Concepts
Hypothesis Testing Using the Critical Value
Step 1. State the hypotheses.
Step 2. Choose .
Step 3. Determine the appropriate statistical technique and corresponding test
statistic to use.
Step 4. Set up the decision rule. Identify the critical value or values that will
separate the rejection and nonrejection regions.
Step 5. Collect data and compute the value of the test statistic.
Step 6. Determine whether the value of the test statistic falls in the rejection or
nonrejection region. Make the statistical decision.
Step 7. Express the statistical decision in terms of the problem.
Basic Concepts
Hypothesis Testing Using the p-Value
Step 1. State the hypotheses.
Step 2. Choose .
Step 3. Determine the appropriate statistical technique and corresponding test
statistic to use.
Step 4. Collect data and compute the value of the test statistic.
Step 5. Compute for the p-value. Compare the p-value with . Make the statistical
decision.
Step 6. Express the statistical decision in terms of the problem.
Ha
Case 1: is known
< o
> o
o
Case 2: is
unknown
Case 3: is
unknown
(and n > 30)
< o
> o
o
< o
> o
o
Test Statistic
Z=
o
X
Region of Rejection
z < z
z > z
|z| > z
2
T=
o
X
S
t < t ( = 1)
t > t ( = 1)
|t| > t ( = 1)
2
Z=
o
X
S
z < z
z > z
|z| > z
2
p = po
Ha
p < po
p > po
p po
Test Statistic
Z=
Region of Rejection
Y npo
npo (1po )
where Y = number of
successes in a random
sample of size n
z < z
z > z
|z| > z
2
x and y
are known
x and y
are
unknown
x = y
x y < d0
x y > d0
x y d0
x y < d0
x y > d0
x y d0
Test Statistic
z=
(
X
Y) d0
2x 2y
+
n1 n2
t=
Region of Rejection
z < z
z > z
z > z
2
X
Y d0
Sp2 Sp2
+
n1 n2
2
2
n
1
S
+
n
2
S
1
x
2
y
Sp2 =
n1 + n2 2
t < t (n1 + n2 1)
t > t (n1 + n2 1)
t > t (n1 + n2 1)
2
x and y
are
unknown
x y
x y < d0
x y > d0
x y d0
Test Statistic
t=
Y
d0
X
Sx2 Sy2
+
n1 n2
Region of Rejection
t < t (v)
t > t (v)
t > t (v)
2
v=
Sx2
n1
Sy2
+
n2
2
Sx2
n1
n1 1
Sy2
n2
+
n2 1
x and y
x y < d0
are
unknown, x y > d0
but
x y d0
n1 , n2 > 30
Test Statistic
z=
Y
) d0
(X
Sx2 Sy2
+
n1 n2
Region of Rejection
z < z
z > z
z > z
2
Females
x = 42 min
y = 38 min
2 = 18
2 = 14
Did the data present sufficient evidence to suggest a difference between the true
mean completion times of male and female students at 5% level of significance?
Ha
D = do
D < d0
D > d0
D d0
Test Statistic
T=
do
Region of Rejection
t < t ( = 1)
t > t ( = 1)
|t| > t ( = 1)
2
1
10.3
12.2
2
11.4
12.1
3
10.9
13.1
4
12
11.9
5
10
12
6
11.9
12.9
7
12.2
11.4
8
12.3
12.1
9
11.7
13.5
Is there evidence here to suggest that the mean weight tends to be heavier in
September? Assume that the weights are normally distributed. Use = 0.05.
10
12
12.3
Ha
Test Statistic
Z=
p1 p2 = 0
p1 p2 < 0
p1 p2 > 0
p1 p2 0
Region of Rejection
1 2
1+1)
(1
)(
1
where =
+
1+2
z < z
z > z
|z| > z
LEADER-FOLLOWER
TENDENCY
Short
Tall
Follower
In-between
22
9
14
6
36
15
Leader
Total
12
43
32
52
44
Total
95