Class 10: comparing group means across two
X-variables.
What you need to have learnt from Class 9: Comparing group means.
![*](http://compstat.wharton.upenn.edu:8001/~waterman/icons/greenball.gif)
- Know the objectives of ANOVA and multiple comparisons.
![*](http://compstat.wharton.upenn.edu:8001/~waterman/icons/greenball.gif)
- Understand why we can't compare each pair (i.e. do lots of
two-sample t-tests).
![*](http://compstat.wharton.upenn.edu:8001/~waterman/icons/greenball.gif)
- Be able to interpret the tables that come with Hsu's and Tukey's
comparison procedures.
![*](http://compstat.wharton.upenn.edu:8001/~waterman/icons/greenball.gif)
- Know and check the assumptions for ANOVA.
New material for today: ANOVA with two X-variables.
![*](http://compstat.wharton.upenn.edu:8001/~waterman/icons/greenball.gif)
- Objective: compare means (of a Y-variable) across different
groups and combinations of groups.
![*](http://compstat.wharton.upenn.edu:8001/~waterman/icons/greenball.gif)
- Example: how do gas station average profits depend on
incentive scheme and geographic location?
![*](http://compstat.wharton.upenn.edu:8001/~waterman/icons/greenball.gif)
- A single continuous Y-variable and TWO categorical X-variables
![*](http://compstat.wharton.upenn.edu:8001/~waterman/icons/greenball.gif)
- Recognize: the X-variables are both categorical.
![*](http://compstat.wharton.upenn.edu:8001/~waterman/icons/greenball.gif)
- Two basic models:
![*](http://compstat.wharton.upenn.edu:8001/~waterman/icons/yellowball.gif)
- No interaction: the impact of X1 on Y does not depend on the
level of X2.
![*](http://compstat.wharton.upenn.edu:8001/~waterman/icons/yellowball.gif)
- Interaction: the impact of X1 on Y depends on the level of X2.
![*](http://compstat.wharton.upenn.edu:8001/~waterman/icons/greenball.gif)
- Practical consequences:
![*](http://compstat.wharton.upenn.edu:8001/~waterman/icons/blueball.gif)
- If NO interaction, then you can investigate the impact of
each X by itself.
![*](http://compstat.wharton.upenn.edu:8001/~waterman/icons/blueball.gif)
- If there is interaction (consider practical importance as
well as statistical significance) then you must consider both X1
and X2 together.
![*](http://compstat.wharton.upenn.edu:8001/~waterman/icons/greenball.gif)
- Key graphic - the profile plot. A graphical diagnostic for
interaction - look for parallel versus non-parallel lines.
![*](http://compstat.wharton.upenn.edu:8001/~waterman/icons/greenball.gif)
- After doing a TWOWAY ANOVA, we often compare different
combinations of the variables by concatenating the two X's into a
single column and
doing multiple comparisons. See p.283 and p.293 of the BulkPack.
![*](http://compstat.wharton.upenn.edu:8001/~waterman/icons/greenball.gif)
- We have the usual assumptions on the errors: independent,
constant variance and approximately normal.
![*](http://compstat.wharton.upenn.edu:8001/~waterman/icons/greenball.gif)
- In JMP we do the TWOWAY ANOVA from the ``fit model''
platform. Residuals can be saved from here. Profile plots are also
obtained via this output.
Richard Waterman
Mon Oct 7 21:48:00 EDT 1996