Академический Документы
Профессиональный Документы
Культура Документы
TESTING
Introducing hypothesis tests
Testing hypotheses about means
Testing hypotheses about variances
2
Hypotheses, Tests, and Errors ?
Hypothesis
4
Z-TEST
6
T-TEST
= (7-4)/(3.16/ 𝟗) = 2.85
8
Example
256 visual artists were surveyed to find out their zodiac sign.
The results were: Aries (29), Taurus (24), Gemini (22), Cancer
(19), Leo (21), Virgo (18), Libra (19), Scorpio (20), Sagittarius
(23), Capricorn (18), Aquarius (20), Pisces (23). Test the
hypothesis that zodiac signs are evenly distributed across
visual artists.
9
Example
256 visual artists were surveyed to find out their zodiac sign.
The results were: Aries (29), Taurus (24), Gemini (22), Cancer
(19), Leo (21), Virgo (18), Libra (19), Scorpio (20), Sagittarius
(23), Capricorn (18), Aquarius (20), Pisces (23). Test the
hypothesis that zodiac signs are evenly distributed across
visual artists.
10
Example
256 visual artists were surveyed to find out their zodiac sign.
The results were: Aries (29), Taurus (24), Gemini (22), Cancer
(19), Leo (21), Virgo (18), Libra (19), Scorpio (20), Sagittarius
(23), Capricorn (18), Aquarius (20), Pisces (23). Test the
hypothesis that zodiac signs are evenly distributed across
visual artists.
11
Example
256 visual artists were surveyed to find out their zodiac sign.
The results were: Aries (29), Taurus (24), Gemini (22), Cancer
(19), Leo (21), Virgo (18), Libra (19), Scorpio (20), Sagittarius
(23), Capricorn (18), Aquarius (20), Pisces (23). Test the
hypothesis that zodiac signs are evenly distributed across
visual artists.
12
Example
256 visual artists were surveyed to find out their zodiac sign.
The results were: Aries (29), Taurus (24), Gemini (22), Cancer
(19), Leo (21), Virgo (18), Libra (19), Scorpio (20), Sagittarius
(23), Capricorn (18), Aquarius (20), Pisces (23). Test the
hypothesis that zodiac signs are evenly distributed across
visual artists.
13
Example
256 visual artists were surveyed to find out their zodiac sign.
The results were: Aries (29), Taurus (24), Gemini (22), Cancer
(19), Leo (21), Virgo (18), Libra (19), Scorpio (20), Sagittarius
(23), Capricorn (18), Aquarius (20), Pisces (23). Test the
hypothesis that zodiac signs are evenly distributed across
visual artists.
14
How ANOVA Works
ANOVA compares two types of variances:
the variance within each sample
the variance between different samples.
16
1. Set up hypotheses and
determine level of significance
H0: μPrelim = μMidterm = μFinals
Significance Error
α = 0.05
17
2. Select the appropriate test statistic.
The test statistic is the F statistic for ANOVA,
F=MSB(Between)/MSE(Within).
Degrees
Source of of
Sums of Squares (SS) Mean Squares (MS) F
Variation Freedom
(df)
Between
Treatme k-1
nts
Error (or
Residual/ N-k
Within)
Total N-1
18
Step 3. Set up decision rule.
Find the F-Critical=(df1, df2)
19
4.Compute the test statistic.
4.1. Get mean of all Sub Group
Prelim Midterm Finals
82.00 71 64
93.00 62 73
61.00 85 87
74.00 94 91
69.00 78 56
70.00 66 78
53.00 71 87
20
4.Compute the test statistic.
4.2. Calculate Sum of SquareS
= 2,812.57
21
4.Compute the test statistic.
4.3. Calculate Mean of Squares
MSB=88.67/2
=44.33
MSE=2,812.57 / 18
= 156.25
22
5.Compute the F- Ratio
Source of Variation Sums of Squares (SS) Degrees of Freedom (df) Mean Squares (MS) F
Between Treatments 88.67 2 44.33333333 0.28
Error (or Residual) 2,812.57 18 156.2539683
Total 2,901.24 20
23
THANK YOU!
24