Title: A Priori and Post Hoc Comparisons
1(No Transcript)
2Chapter 12
- A Priori and Post Hoc Comparisons
- Multiple t-tests
- Linear Contrasts
- Orthogonal Contrasts
- Trend Analysis
- Bonferroni t
- Fisher Least Significance Difference
- Studentized Range Statistic
- Dunnetts Test
3Trend Analysis
- The logic of trend analysis is exactly the same
logic we just talked about with contrasts!
4Example
- You collect axon firing rate scores from rats in
one of four conditions. - Condition 1 10 mm of Zeta inhibitor
- Condition 2 20 mm of Zeta inhibitor
- Condition 3 30 mm of Zeta inhibitor
- Condition 4 40 mm of Zeta inhibitor
- Condition 5 50 mm of Zeta inhibitor
- You think Zeta inhibitor reduces the number of
times an axon fires are you right?
5What does this tell you ?
6(No Transcript)
7Trend Analysis
Contrast Codes!
-2 -1 0
1 2
8Trend Analysis
9a1 -2, a2 -1, a3 0, a4 1, a5 2
L 7.2
F crit (1, 20) 4.35
10(No Transcript)
11Note
12Example
- You place subjects into one of five different
conditions of anxiety. - 1) Low anxiety
- 2) Low-Moderate anxiety
- 3) Moderate anxiety
- 4) High-Moderate anxiety
- 5) High anxiety
- You think subjects will perform best on a test at
level 3 (and will do worse at both lower and
higher levels of anxiety)
13What does this tell you ?
14(No Transcript)
15 -2 1 2
1 -2
Contrast Codes!
16Trend Analysis
- Create contrast codes that will examine a
quadratic trend. - -2, 1, 2, 1, -2
17a1 -2, a2 1, a3 2, a4 1, a5 -2
L 10
F crit (1, 20) 4.35
18(No Transcript)
19Trend Analysis
- How do you know which numbers to use?
- Page 742
20Linear
(NO BENDS)
21Quadratic
(ONE BEND)
22Cubic
(TWO BENDS)
23(No Transcript)
24Practice
- You believe a balance between school and ones
social life is the key to happiness. Therefore
you hypothesize that people who focus too much on
school (i.e., people who get good grades) and
people who focus too much on their social life
(i.e., people who get bad grades) will be more
depressed. - You collect data from 25 subjects
- 5 subjects F
- 5 subjects D
- 5 subjects C
- 5 subjects B
- 5 subjects A
- You measured their depression
25Practice
- Below are your findings interpret!
26Trend Analysis
- Create contrast codes that will examine a
quadratic trend. - -2, 1, 2, 1, -2
27a1 -2, a2 1, a3 2, a4 1, a5 -2
L -12.8
F crit (1, 20) 4.35
28(No Transcript)
29(No Transcript)
30(No Transcript)
31Remember
- Freshman, Sophomore, Junior, Senior
- Measure Happiness (1-100)
32(No Transcript)
33ANOVA
- Traditional F test just tells you not all the
means are equal - Does not tell you which means are different from
other means
34Why not
- Do t-tests for all pairs
- Fresh vs. Sophomore
- Fresh vs. Junior
- Fresh vs. Senior
- Sophomore vs. Junior
- Sophomore vs. Senior
- Junior vs. Senior
35Problem
- What if there were more than four groups?
- Probability of a Type 1 error increases.
- Maximum value comparisons (.05)
- 6 (.05) .30
36Chapter 12
- A Priori and Post Hoc Comparisons
- Multiple t-tests
- Linear Contrasts
- Orthogonal Contrasts
- Trend Analysis
- Bonferroni t
- Fisher Least Significance Difference
- Studentized Range Statistic
- Dunnetts Test
37Bonferoni t
- Controls for Type I error by using a more
conservative alpha
38- Do t-tests for all pairs
- Fresh vs. Sophomore
- Fresh vs. Junior
- Fresh vs. Senior
- Sophomore vs. Junior
- Sophomore vs. Senior
- Junior vs. Senior
39- Maximum probability of a Type I error
- 6 (.05) .30
- But what if we use
- Alpha .05/C
- .00833 .05 / 6
- 6 (.00855) .05
40t-table
- Compute the t-value the exact same way
- Problem normal t table does not have these p
values - Test for significance using the Bonferroni t
table (page 751)
41Practice
42(No Transcript)
43Practice
Fresh vs. Sophomore t .69 Fresh vs. Junior t
2.41 Fresh vs. Senior t -1.55 Sophomore vs.
Junior t 1.72 Sophomore vs. Senior t
-2.24 Junior vs. Senior t -3.97 Critical t
6 comp/ df 20 2.93
44Bonferoni t
- Problem
- Silly
- What should you use as the value in C?
- Increases the chances of the Type II error!
45Fisher Least Significance Difference
- Simple
- 1) Do a normal omnibus ANOVA
- 2) If there it is significant you know that there
is a difference somewhere! - 3) Do individual t-test to determine where
significance is located
46Fisher Least Significance Difference
- Problem
- You may have an ANOVA that is not significant and
still have results that occur in a manner that
you predict! - If you used this method you would not have
permission to look for these effects.
47Remember
48Remember
49(No Transcript)
50Chapter 12
- A Priori and Post Hoc Comparisons
- Multiple t-tests
- Linear Contrasts
- Orthogonal Contrasts
- Trend Analysis
- Bonferroni t
- Fisher Least Significance Difference
- Studentized Range Statistic
- Dunnetts Test
51Studentized Range Statistic
Which groups would you likely select to determine
if they are different?
52Studentized Range Statistic
Which groups would you likely select to determine
if they are different?
This statistics controls for Type I error if
(after looking at the data) you select the two
means that are most different.
53Studentized Range Statistic
- Easy!
- 1) Do a normal t-test
54Studentized Range Statistic
- Easy!
- 2) Convert the t to a q
55Studentized Range Statistic
- 3) Critical value of q (note this is a
two-tailed test) - Figure out df (same as t)
- Example 20
- Figure out r
- r the number of groups
56Studentized Range Statistic
- 3) Critical value of q note this is a two-tailed
test) - Figure out df (same as t)
- Example 20
- Figure out r
- r the number of groups
- Example 4
57Studentized Range Statistic
- 3) Critical value of q
- Page 744
- Example
- q critical /- 3.96
58Studentized Range Statistic
- 4) Compare q obs and q critical same way as t
values - q -5.61
- q critical / 3.96
59Practice
- You collect axon firing rate scores from rates in
one of four conditions. - Condition 1 10 mm of Zeta inhibitor
- Condition 2 20 mm of Zeta inhibitor
- Condition 3 30 mm of Zeta inhibitor
- Condition 4 40 mm of Zeta inhibitor
- Condition 5 50 mm of Zeta inhibitor
- You are simply interested in determining if any
two groups are different from each other use
the Studentized Range Statistic
60Studentized Range Statistic
- Easy!
- 1) Do a normal t-test
61Studentized Range Statistic
- Easy!
- 2) Convert the t to a q
62Studentized Range Statistic
- 3) Critical value of qnote this is a two-tailed
test) - Figure out df (same as t)
- Example 20
- Figure out r
- r the number of groups
- Example 5
63Studentized Range Statistic
- 3) Critical value of q
- Page 744
- Example
- q critical /- 4.23
64Studentized Range Statistic
- 4) Compare q obs and q critical same way as t
values - q -4.34
- q critical / 4.23
65Dunnetts Test
- Used when there are several experimental groups
and one control group (or one reference group) - Example
- Effect of psychotherapy on happiness
- Group 1) Psychoanalytic
- Group 2) Humanistic
- Group 3) Behaviorism
- Group 4) Control (no therapy)
66(No Transcript)
67Psyana vs. Control Human vs. Control Behavior vs.
Control
68Psyana vs. Control 47.8 51.4 -3.6 Human vs.
Control 50.8 51. 4 -0.6 Behavior vs.
Control 59 51.4 7.6
69Psyana vs. Control 47.8 51.4 -3.6 Human vs.
Control 50.8 51. 4 -0.6 Behavior vs.
Control 59 51.4 7.6
How different do these means need to be in order
to reach significance?
70(No Transcript)
71(No Transcript)
72(No Transcript)
73Dunnetts t is on page 753 df Within groups df
/ k number of groups
74Dunnetts t is on page 753 df 16 / k 4
75Dunnetts t is on page 753 df 16 / k 4
76Psyana vs. Control 47.8 51.4 -3.6 Human vs.
Control 50.8 51. 4 -0.6 Behavior vs.
Control 59 51.4 7.6
How different do these means need to be in order
to reach significance?
77Practice
- As a graduate student you wonder what
undergraduate students (freshman, sophomore,
etc.) have different levels of happiness then you.
78(No Transcript)
79Dunnetts t is on page 753 df 25 / k 5
80Fresh vs. Grad -17.5 Soph vs. Grad
-21.5 Jun vs. Grad -31.5 Senior vs. Grad
-8.5
81(No Transcript)