Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Post hoc for nested designs?

How do you do pairwise comparisons on nested designs? Does anyone know of a syntax for either SPSS or SAS?

Hope you can help me. I'm really at a loss.

2 Answers

Relevance
  • 1 decade ago
    Favorite Answer

    Normally nested designs are run to estimate variance components, so you must have a somewhat unique application. Here is an example to do all pairwise comparisons in SAS. You have to take care in interpreting the results.

    Suppose you have two factors, A and B with B nested within A and you want to perform the Tukey-Kramer Multiple Comparison Procedure. Using PROC GLM, the partial code would be

    PROC GLM;

    CLASS A B;

    MODEL Y = A B(A);

    LSMEANS A B(A)/STDERR PDIFF ADJUST=TUKEY;

    RUN;

    Math (and Stats) Rule!

  • 1 decade ago

    I hate to say this, but I heard a colleague complain the other day that SPSS cannot do this. I don't know about SAS. There is a listserv here for SPSS that maybe you can join and get some answers? http://listserv.uga.edu/archives/spssx-l.html

Still have questions? Get your answers by asking now.