Professional Documents
Culture Documents
The Hypotheses
There are two hypotheses which we are comparing.
The null hypothesis, H0, specifies a value of a
parameter. This hypothesis is assumed to be true, and
the collected data will be analyzed to see if it is
contradictory to the null hypothesis.
The alternative hypothesis, Ha, gives an opposing
statement about the value of the parameter. The
collected data will be analyzed to see if it supports the
alternative hypothesis.
t yo
a
h
w
This is
prov
o
t
t
n
u wa
= 350
x 355
= 350
x 450
Statistical Terminology
Once the data is collected, we seek an answer to the
question: If the null hypothesis is true, how likely are
we to observe this type of data, or data which is more
extreme in the direction of the alternative hypothesis?
The observed significance level, or p-value of a test of
hypothesis is the probability of obtaining the observed
value of the sample statistic, or one which is even more
supportive of the alternative hypothesis, under the
assumption that the null hypothesis is true.
Statistical Terminology
For example, lets assume that we are testing the
hypothesis that the mean gas mileage for a certain type
of car is 24 miles per gallon against an alternative that
the mean is more than 24 mpg.
H0: = 24 mpg
Ha: > 24 mpg
If a sample of 50 cars have a sample mean of 24.2 mpg,
this gives a certain p-value.
If the sample of 50 cars had a sample mean of 25.0 mpg,
the p-value is even smaller, since this would be more
unusual to see if H0 is true ( = 24 mpg).
x
n
Decision Rule
Based on the z-score calculated, we can determine how
likely we are to get a sample mean (x-bar) like we
observed or one more supportive of Ha.
Decision Rule: This tells us when we feel the observed
data provided sufficient evident to conclude the
alternative hypothesis is true.
It will be phrased as: Accept the alternative hypothesis
when the p-value of the test is less than .
The value of will be given in each exercise. It does
NOT depend on the sample data. (More details later)
P-value Method
The p-value provides information about the
amount of statistical evidence that supports the
alternative hypothesis.
The p-value of a test is the probability of observing a
test statistic at least as extreme as the one computed,
given that the null hypothesis is true.
Let us demonstrate the concept on this example.
P-value Method
The probability of observing a
test statistic at least as extreme as 178,
given that = 170 is
x 178
The p-value
H 0 : x 170
H1 : x 170
x 178
H 0 : x 170
H1 : x 170
x 178
= 0.05
x 170
x L 175.34
x 178
The p-value
Another Example
Historically, the mean GPA of incoming freshmen at
NKU has been 2.32 at the end of their first year. With
recent changes, the administration believes the mean
GPA has increased. How would this be tested using a .
05 level of significance?
H0: The mean GPA is still 2.32. = 2.32
> 2.32
x 130210 122000
8210
z
2.19
23680
3744.13675
n
40
Possible Errors
Realize, that a small p-value (or observed level of
significance) suggests that the alternative hypothesis
is true, but does not guarantee it is true.
A Type I Error consists of concluding that the
alternative hypothesis is true when, in fact, the null
hypothesis is true.
A Type II Error consists of concluding that the null
hypothesis is true when, in fact, the alternative
hypothesis is true.