+ Reply to Thread
Results 1 to 2 of 2

Thread: Reapeted measures Anova Tukey test in GLM

  1. #1
    Points: 5, Level: 1
    Level completed: 9%, Points required for next Level: 45

    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Reapeted measures Anova Tukey test in GLM



    Hello,
    I am running a repeated measures anova using proc glm. I am not having a problem with the anova itself, but when I do a tukey test at the end, it is giving me pairwise comparisons broken down by each trial (month). What I need is adjusted pairwise comparisons for the entire experiment eg) pairwise experiments between each treatment with all trials (months) combined.
    This is what I have entered that is giving me the tukey comparisons broken down my month:

    data pl;
    input transect habitat M1 M2 M3;
    cards;
    1 1 6 19 30
    2 1 1 1 13
    ////////////////////////////
    17 3 5 28 12
    18 1 0 0 8
    ;
    proc glm data=pl;
    class habitat;
    model m1 m2 m3=habitat / nouni;
    repeated month 3;
    lsmeans habitat / adjust=tukey;
    run;

    The output gives me pairwise comparisons between treatments (habitat) for each month (m1 - m2 - m3 ), but I need p values for pairwise comparisons between treatments for the entire experiment (all three months).

    Does anyone have any idea how I can achieve this?

    Thanks,

  2. #2
    Multicollinearity hater
    Points: 6,311, Level: 51
    Level completed: 81%, Points required for next Level: 39
    victorxstc's Avatar
    Posts
    721
    Thanks
    163
    Thanked 172 Times in 156 Posts

    Re: Reapeted measures Anova Tukey test in GLM


    I usually achieve this using SPSS, as it computes the pairwise comparisons for combined data. Although it only computes such comparisons in one direction only and needs some tweaks for pairwise comparisons at both horizontal and vertical dimensions.

    My own problem is to force SPSS to do pairwise comparisons between all the cells one by one (in which I fail), and I'm glad there is such a solution to it.

+ Reply to Thread

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts








Advertise on Talk Stats