4 Inferentials
4 Inferentials
2. Hypothesis testing
Confidence Intervals
Give a plausible range of values of the estimate likely to
include the “true” (population) value with a given
confidence level.
CIs also give information about the precision of an estimate.
3) A confidence coefficient
Lower limit = Point Estimate - (Critical Value/ confidence
coefficient) x (Standard Error)
Upper limit = Point Estimate + (Critical Value/ confidence
coefficient) x (Standard Error)
Confidence Level
Confidence Level:
Confidence in which the interval will
contain the unknown population
parameter
A percentage (less than 100%)
Example: 95%
Also written (1 - α) = .95
Confidence intervals…
(10, 100)
Hypothesis testing
A hypothesis usually results from speculation
concerning observed behavior, natural phenomena,
or established theory.
Population Mean
The average length of stay of patients admitted
to the hospital is five days.
Population Proportion
The proportion of adult smokers in Harar is P =
0.20
Types of Hypothesis
-1.96 1.96
Power
The probability of rejecting the Ho when it is false.
Power = 1 – β = 1- probability of type II error
We would like to maintain low probability of a Type I error (α)
And low probability of a Type II error (β) [high power = 1 - β].
Action Reality
(Conclusion)
Ho True Ho False
To the hypothesis we need to follow the steps
Step 1: State the hypothesis
Ho: P=Po=0.3
Ha: P≠Po ≠0.3
Step 2: Fix the level of significant (α=0.05)
Step 3: Compute the calculated and tabulated
value of the test statistic
p Po 0.175 0.3 0.125
zcal 8.39
p (1 p ) 0.3(0.7) 0.0149
n 947
ztab 1.96
Example……
Step 4: Comparison of the calculated and tabulated
values of the test statistic
Since the tabulated value is smaller than the
1. Take α = .05
State the Hypotheses
Ho: µ = 30
HA: µ ≠ 30
Test statistic
As the population variance is known, we use Z as
the test statistic.
Decision Rule
Reject Ho if the Z value falls in the rejection region.
Don’t reject Ho if the Z value falls in the non-rejection
region.
Because of the structure of Ho it is a two tail test.
Therefore, reject Ho if Z ≤ -1.96 or Z ≥ 1.96.
Calculation of test statistic
Statistical decision