Professional Documents
Culture Documents
Proportion p
Variance 2 s2
Standard deviation s
_ _
Size N n
15-3
13-Mar-17
Questions 4
13-Mar-17
Introduction to Hypothesis 5
Hypothesis Testing can be used to determine
whether a statement about the value of a
population parameter should or should not be
rejected.
The Null Hypothesis, denoted by H0 , is a tentative
assumption (some one expecting/hoping) about a
population parameter.
The Alternative Hypothesis, denoted by Ha, is the
opposite of what is stated in the null hypothesis.
Intro to Hypothesis 6
13-Mar-17
Hypothesis 7
13-Mar-17
7 Steps of Hypothesis 8
1. State Null hypothesis, Ho, The mean age of all
UET students is 21 yrs, Ho: = 21
2. State alternate hypothesis, Ha, The mean age
of all UET students is not 21 yrs, Ha: 21
may by Ha: < 21, or Ha: > 21.
3. Decide on significance level,
4. Calculate the appropriate test statistic
5. Use tables to find the p-value of the test
statistic
6. Make decision
7. State conclusions (and assumptions, if any) 13-Mar-17
7 Steps Explaining (Statistical Testing) 9
Testing for statistical significance involves the
following six-stage sequence:
1. State the null hypothesis (Ho):
Make a formal clear statement of the null
hypothesis and also of the alternative
hypothesis (Ha);
13-Mar-17
13-Mar-17
Statistical Testing Procedures 11
3. Select the desired level of significance:
The choice of the level of significance should be
made before we collect the data. The most
common level is 0.05, although 0.01 is also
widely used. Other levels such as .10, .25, or
.001 are sometimes chosen.
The exact level to choose is largely determined by
how much risk one is willing to accept and the
effect that this choice has on risk. The larger
the , the lower is the .
13-Mar-17
13-Mar-17
Statistical Testing Procedures 13
13-Mar-17
13-Mar-17
Fundamental of Hypothesis Testing 15
There two types of statistical inferences, Estimation
and Hypothesis Testing
13-Mar-17
Example 18
A research team creates a fuel injection system to
improve/achieve efficiency of its cars, the current
efficiency is 24 MPG
Thus the research hypothesis is the alternate
hypothesis Ha.
Ho: 24
Ha : 24
13-Mar-17
Example 19
A company filled bottles at 250 mL at least. Thus the
Null Hypothesis would be
Ho: 250 mL
Challenge is to label the bottle are under filled
Ha : 250 mL
Govt. Agency will check Ha or Ho
Company does not want to under fill but also avoids
over filling, thus
Ho: = 250 mL
Ha : 250 mL
All these are controlled by the QC Deptt.
13-Mar-17
13-Mar-17
Hypothesis Testing (HT): Introduction 21
Induction and deduction are used together in
research reasoning.
Researchers describe this process as the double
movement of reflective thought.
Induction occurs when we observe a fact and ask,
Why is this?
In answer to this we advance a tentative
explanation (hypothesis).
Deduction is the process by which we test whether
the hypothesis is capable of explaining the fact
13-Mar-17
13-Mar-17
Hypothesis Testing (HT): Introduction 23
You use this hypothesis to conclude (deduce) that
sales will not increase during a poorly executed
promotion. You know from experience that
ineffective promotion will not increase sales.
(Deduction1)
We deduce that a well-executed promotion will
result in increased sales. (Deduction2)
We run an effective promotion, and sales
increase. (Fact2).
13-Mar-17
13-Mar-17
Statistical Significance 25
Following classical statistics approach, we accept
or reject a hypothesis on the basis of sampling
information alone.
Since any sample will almost surely vary somewhat
from its population, we must judge whether the
differences are statistically significant or
insignificant.
A difference has statistical significance if there is
good reason to believe the difference does not
represent random sampling fluctuations only.
13-Mar-17
13-Mar-17
Statistical Significance: Example 27
Lets say that the hybrid Civic has maintained an
average of about 50 miles per gallon (mpg) with a
standard deviation of 10 mpg.
Suppose researchers discover by analyzing all
production vehicles that the mpg is now 51.
Is this difference statistically significant from 50?
13-Mar-17
13-Mar-17
Statistical Significance: Example 29
Since the evidence consists only of a sample
consider the second possibility: that this is
only a random sampling error and thus is not
significant.
The task is to decide whether such a result
from this sample is or is not statistically
significant.
To answer this question, one needs to consider
further the logic of hypothesis testing.
13-Mar-17
13-Mar-17
Statistics as a Decision Aid 31
Because of uncertainty (have to estimate
things), we will be wrong sometimes.
The point is to be thoughtful about it; how
many errors of what kinds? What are the
consequences?
Statistics allows us to calculate
probabilities and to base our decisions on
those. We choose (at least partially) the
amount and kind of error.
Hypothesis testing done mostly by
convention, but there is a logic to it.
13-Mar-17
Hypothesis Testing 32
The general goal of a hypothesis test is to
rule out chance (sampling error) as a
plausible explanation for the results from a
research study.
Hypothesis testing is a technique to help
determine whether a specific treatment has
an effect on the individuals in a population.
13-Mar-17
Hypothesis Testing 33
Research hypothesis are formulated in terms
of the outcome that the experimenter wants,
and an alternative outcome that he doesnt
want
I.e. If were comparing scores on an exam
with two groups, one with test anxiety and
one without, our hypotheses are:
(1) That the group with test anxiety will score
higher (expected outcome)
(2) The two groups will score the same
(unexpected outcome)
13-Mar-17
13-Mar-17
The Logic of Hypothesis Testing 35
The alternative hypothesis holds that there has
been a change in average mpg (i.e., the sample
statistic of 54 indicates the population value
probably is no longer 50).
The alternative hypothesis is the logical
opposite of the null hypothesis.
The hybrid-car example can be explored further to
show how these concepts are used to test for
significance.
13-Mar-17
13-Mar-17
The Logic of Hypothesis Testing 37
These types of alternative hypotheses
correspond with two-tailed and one-tailed
tests.
A two-tailed test, or non-directional test,
considers two possibilities:
the average could be more than 50 mpg, or
It could be less than 50.
To test this hypothesis, the region of rejection
are divided into two tails of the distribution.
13-Mar-17
13-Mar-17
Level of Significance 39
This is a very important concept in the
context of hypothesis testing.
It is always some percentage (usually 5%)
which should be chosen with great care,
thought and reason.
In case we take the significance level at 5 per
cent, then this implies that H0 will be rejected
13-Mar-17
H 0 : 0 H 0 : 0 H 0 : 0
H a : 0 H a : 0 H a : 0
One-tailed One-tailed Two-tailed
(lower-tail) (upper-tail)
13-Mar-17
Two Tailed Tests 41
13-Mar-17
13-Mar-17
One Tailed Tests 43
If our H0 : =Ho and Ha:
>Ho then we are interested in
what is known as one-tailed
test (wherein there is one
rejection region only on the
right tail)
Mathematically we can state:
13-Mar-17
Summary 44
In the process of hypothesis testing, the null hypothesis
initially is assumed to be true
Data are gathered and examined to determine whether
the evidence is strong enough with respect to the
alternative hypothesis to reject the assumption.
In another words, the burden is placed on the researcher
to show, using sample information, that the null
hypothesis is false.
If the sample information is sufficient enough in favor
of the alternative hypothesis, then the null hypothesis is
rejected. This is the same as saying if the persecutor
has enough evidence of guilt, the innocence is
rejected.
Of course, erroneous conclusions are possible, type I
and type II errors. 13-Mar-17
Type I and Type II Errors 45
In the context of testing of Hypothesis, there are
basically two types of errors we can make.
We may reject Ho when Ho is true, and we may
accept Ho when in fact Ho is not true.
The former is known as Type I error and the latter as
Type II error.
13-Mar-17
13-Mar-17
Type I and Type II Errors 47
If type I error is fixed at 5%, it means that
there are about 5 chances in 100 that we
will reject Ho, when Ho is true.
We can control Type I error just by fixing
it at a lower level.
For instance, if we fix it at 1 percent, we will
say that the maximum probability of
committing a type I error would only be
0.01.
13-Mar-17
13-Mar-17
Type I and Type II Errors 49
13-Mar-17
Common Formula 50
1. Population normal, population infinite, sample size
may be large or small but variance of the population is
known, Ha may be one-sided or two-sided:
13-Mar-17
Common Formula 51
3. Population normal, population infinite, sample size
small and variance of the population unknown, Ha may
be one-sided or two-sided:
13-Mar-17
Common Formula 52
5. Population may not be normal but sample size is large,
variance of the population may be known or unknown,
and Ha may be one-sided or two-sided:
OR
13-Mar-17
Hypothesis: Example 53
13-Mar-17
Rejection
region is
0 shaded
6) Reject H0 if p-value
Since 0.1335 is not less than 0.110, so we don't reject
Ho.
13-Mar-17
13-Mar-17
Probability Values (p Values) 57
According to the interpret the test step of the
statistical test procedure, the conclusion is
stated in terms of rejecting or not rejecting the
null hypothesis based on a rejection region
selected before the test is conducted.
A second method of presenting the results of a
statistical test reports the extent to which the
test statistic disagrees with the null hypothesis.
13-Mar-17
13-Mar-17
Probability Values (p Values) 59
13-Mar-17