L-5 Hypothesis Tests
L-5 Hypothesis Tests
L-5 Hypothesis Tests
Hypothesis Testing
• Allows us to use sample data to test a claim about a
population, such as testing whether a population
proportion or population mean equals some number
• If the hypothesis is stated in terms of population
parameters (such as mean and variance), the hypothesis
is called statistical hypothesis.
• Data from a sample (which may be an experiment) are
used to test the validity of the hypothesis.
• A procedure that enables us to agree (or disagree) with
the statistical hypothesis is called a test of the
hypothesis
PROF.DR. İLKER ETİKAN 4
Hypothesis Testing
• Hypothesis testing is the procedure by which we infer if
two (or more) groups are different from each other
• The first step is to write the statistical hypotheses which
are expressed in precise mathematical terms
• The statistical hypotheses always come in pairs -- the null
hypothesis and the alternative hypothesis
PROF.DR. İLKER ETİKAN 5
Examples
• To determine whether the wages of male nurses and
female nurses are equal.
H0: m1 < m2
or
H0 : m1 > m2
H0 and H1
• Together, the null and alternative hypotheses must be
mutually exclusive and exhaustive
• Mutual exclusion implies that H0 and H1 cannot both be
true at the same time
• Exhaustive implies that each of the possible outcomes of
the experiment must make either H0 or H1 true
PROF.DR. İLKER ETİKAN 10
PROF.DR. İLKER ETİKAN 11
One way hypothesis: Because we predict that when H_0 is rejected, μ may can be less than
100.
H0 : µ=100
H1 : µ<100
Two way hypothesis: Because we predict that if H_0 gets rejected, and as the μis not equal
to 100 we predict that it could be higher or lower that 100.
H0 : µ=100
H1 : µ≠100
PROF.DR. İLKER ETİKAN 13
PROF.DR. İLKER ETİKAN 14
Sample size
In the materiality tests the size of the sample is an
important indication:
Because;
1. Parametric tests
2. Nonparametric tests
PROF.DR. İLKER ETİKAN 18
1.Parametric tests
2.Nonparametric tests
DATA
CONTINUOUS CATEGORICAL
ONE
SAMPLE ONE TWO
TWO SAMPLE SAMPLE
SAMPLE
>2
>2 SAMPLE
SAMPLE
PROF.DR. İLKER ETİKAN 21
CONTINUOUS
Kruskal Wallis
Mann Whitney Wilcoxon Signed Friedman
Analysis of
Sign Test U Test Rank Test Test
Variance
Parametric Nonparametric
PROF.DR. İLKER ETİKAN 22
CATEGORICAL
Parametric Nonparametric