Diff for "FAQ/polybs" - CBU statistics Wiki
location: Diff for "FAQ/polybs"
Differences between revisions 5 and 6
Revision 5 as of 2010-11-30 09:52:01
Size: 2332
Editor: PeterWatson
Comment:
Revision 6 as of 2010-11-30 09:52:57
Size: 2398
Editor: PeterWatson
Comment:
Deletions are marked like this. Additions are marked like this.
Line 25: Line 25:
Note that linear and higher order trend tests are performed by SPSS in repeated measures ANOVA by default using the GLM procedure (see Post-hoc Grad talk for further details). Trend tests may be carried out without a significant overall F as it looks at a specific relationship between group means which is not tested by the oevrall F test in the ANOVA. Note that linear and higher order trend tests are performed by SPSS in repeated measures ANOVA by default using the GLM procedure (see Post-hoc Grad talk for further details [http://imaging.mrc-cbu.cam.ac.uk/statswiki/StatsCourse2010 here]). Trend tests may be carried out without a significant overall F as it looks at a specific relationship between group means which is not tested by the oevrall F test in the ANOVA.

How do I test for a trend between group means representing different subjects?

Let us suppose we wish to test for a linear trend between between subjects group means. This can be done using polynomial coefficients

ONEWAY
  OUTCOME BY GROUP
  /POLYNOMIAL= 1
  /MISSING ANALYSIS .

In the case of unequal group sizes SPSS produces two outputs called weighted and unweighted sums of squares. The weighted sums of squares assumes group sizes are important for example to reflect relative sizes of each group in the general population. Unweighted sums of squares ignore differences in group sizes and compares group means using the same average group size for each group so each group contributes equally to the trend analysis.

To illustrate the use of unweighted means suppose we have three group means 2.333, 2.00 and 2.50 with respective group sizes 3, 4 and 4 and we wish to see if there is a linear trend. Using the polynomial coefficients this is akin to using a contrast to test if there is a difference between the first and third group means. From Boniface (1995)

SS(linear contrast) = Harmonic mean x (difference in first and third group means $$\text^2$$)/ (sum of the squares of the contrast coefficients) where

$$ \mbox{Harmonic mean} = \frac{3}{\frac{1}{3} + \frac{1}{4} + \frac{1}{4}} = 3.6.$$

Unweighted SS(linear contrast) = 3.6 (2.333-2.5)(2.333-2.5)/(1 + 1) = 0.050.

For further discussion on the differences between weighted and unweighted analyses see the first half of Amy Shelton's excellent on-line tutorial given in a pdf file located [http://www.psy.jhu.edu/~ashelton/courses/stats315/week9.pdf here.] If the link is broken the file containing the tutorial can be accessed from [attachment:weights.pdf here.]

Note that linear and higher order trend tests are performed by SPSS in repeated measures ANOVA by default using the GLM procedure (see Post-hoc Grad talk for further details [http://imaging.mrc-cbu.cam.ac.uk/statswiki/StatsCourse2010 here]). Trend tests may be carried out without a significant overall F as it looks at a specific relationship between group means which is not tested by the oevrall F test in the ANOVA.

Reference

Boniface DR (1995) Experiment design and statistical methods for behavioural and social research. Chapman and Hall:London. This book is available in the CBU library.

None: FAQ/polybs (last edited 2015-02-02 12:54:57 by PeterWatson)