+ Reply to Thread
Page 3 of 3 FirstFirst 1 2 3
Results 31 to 43 of 43

Thread: Queries regarding ANCOVA and MANCOVA

  1. #31
    RotParaTon
    Points: 47,169, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Awards:
    Discussion EnderPosting AwardCommunity AwardMaster TaggerFrequent Poster
    Dason's Avatar
    Location
    Ames, IA
    Posts
    9,199
    Thanks
    212
    Thanked 1,642 Times in 1,403 Posts

    Re: Queries regarding ANCOVA and MANCOVA



    And with GUIs come limitations. I think you're seeing that for yourself with this whole SPSS thing. With R if you can dream it then you can do it.
    "His programming is malfunctioning. It begins! Get your weapons, he's going to become a killbot!!!" - bryangoodrich

  2. #32
    Multicollinearity hater
    Points: 6,538, Level: 52
    Level completed: 94%, Points required for next Level: 12
    victorxstc's Avatar
    Posts
    741
    Thanks
    170
    Thanked 181 Times in 163 Posts

    Re: Queries regarding ANCOVA and MANCOVA

    Yes you are right well said.

    [With this level of enthusiasm, I think your code is as well written in R ]

  3. #33
    Super Moderator
    Points: 8,665, Level: 62
    Level completed: 72%, Points required for next Level: 85
    Dragan's Avatar
    Location
    Illinois, US
    Posts
    1,734
    Thanks
    0
    Thanked 129 Times in 115 Posts

    Re: Queries regarding ANCOVA and MANCOVA

    Quote Originally Posted by victorxstc View Post
    But the LSD is as well deactivated in SPSS.
    Well, no, it's not, victor....What you want to do is go to options and bring the grouping variable over into "Display Means for:" and then click the box for "Compare Main effects" and your options are LSD, Bonferroni, and Sidak.

  4. The Following 2 Users Say Thank You to Dragan For This Useful Post:

    statanx (09-10-2012), victorxstc (09-10-2012)

  5. #34
    Multicollinearity hater
    Points: 6,538, Level: 52
    Level completed: 94%, Points required for next Level: 12
    victorxstc's Avatar
    Posts
    741
    Thanks
    170
    Thanked 181 Times in 163 Posts

    Re: Queries regarding ANCOVA and MANCOVA

    Quote Originally Posted by Dragan View Post
    Well, no, it's not, victor....What you want to do is go to options and bring the grouping variable over into "Display Means for:" and then click the box for "Compare Main effects" and your options are LSD, Bonferroni, and Sidak.
    That was one good hint Dragan. Thanks

    So why did you mention the deactivation of the post hocs in the first place? And why SPSS developers have done this incosnsitent path to first disallow you to do something, and then provide you with the disallowed thing in a hidden place?!

    I see its subcommand changes to the below code. meaning that SPSS considers it something different from a simple post hoc test.

    Code: 
    /EMMEANS=TABLES(Var1) WITH(Var2=MEAN) COMPARE ADJ(LSD)

  6. The Following User Says Thank You to victorxstc For This Useful Post:

    statanx (09-10-2012)

  7. #35
    Super Moderator
    Points: 8,665, Level: 62
    Level completed: 72%, Points required for next Level: 85
    Dragan's Avatar
    Location
    Illinois, US
    Posts
    1,734
    Thanks
    0
    Thanked 129 Times in 115 Posts

    Re: Queries regarding ANCOVA and MANCOVA

    Quote Originally Posted by victorxstc View Post
    That was one good hint Dragan. Thanks

    So why did you mention the deactivation of the post hocs in the first place? And why SPSS developers have done this incosnsitent path to first disallow you to do something, and then provide you with the disallowed thing in a hidden place?!

    I see its subcommand changes to the below code. meaning that SPSS considers it something different from a simple post hoc test.
    I mentioned it because a lot of people don't understand that the usual post-hoc ANOVA tests e.g. Tukey, etc. are not appropriate for ANCOVA because the standard error is not computed correctly.

    Briefly, in the denominator of the t-statistic for comparing adjusted means for ANCOVA, the standard error is;

    Sqrt [MSw [ 1/ni + 1/nj + [ (Xbar_i - Xbar_j)^2 / SSres(X) ] ]

    where MSw is the adjusted mean squares within from the overall analysis and X is the covariate.

  8. The Following 2 Users Say Thank You to Dragan For This Useful Post:

    statanx (09-10-2012), victorxstc (09-10-2012)

  9. #36
    Multicollinearity hater
    Points: 6,538, Level: 52
    Level completed: 94%, Points required for next Level: 12
    victorxstc's Avatar
    Posts
    741
    Thanks
    170
    Thanked 181 Times in 163 Posts

    Re: Queries regarding ANCOVA and MANCOVA

    Quote Originally Posted by Dragan View Post
    I mentioned it because a lot of people don't understand that the usual post-hoc ANOVA tests e.g. Tukey, etc. are not appropriate for ANCOVA because the standard error is not computed correctly.

    Briefly, in the denominator of the t-statistic for comparing adjusted means for ANCOVA, the standard error is;

    Sqrt [MSw [ 1/ni + 1/nj + [ (Xbar_i - Xbar_j)^2 / SSres(X) ] ]

    where MSw is the adjusted mean squares within from the overall analysis and X is the covariate.
    Thanks a lot Dragan Then we have two quite different post hocs but with the same name (for example Bonferroni). One is usable for ANOVA, and the other one which can take the covariate into account is useful for ANCOVA. (and I couldn't understand the rest of the technical notes, but it is good to digg it some day when ready)

  10. The Following User Says Thank You to victorxstc For This Useful Post:

    statanx (09-10-2012)

  11. #37
    Points: 1,253, Level: 19
    Level completed: 53%, Points required for next Level: 47

    Posts
    35
    Thanks
    36
    Thanked 0 Times in 0 Posts

    Re: Queries regarding ANCOVA and MANCOVA

    Thanks to all of you...victorxstc, Dason, Dragan..

    I will try what Dragan told.

    Dragan, why do you prefer LSD over Bonferroni?

  12. #38
    Super Moderator
    Points: 8,665, Level: 62
    Level completed: 72%, Points required for next Level: 85
    Dragan's Avatar
    Location
    Illinois, US
    Posts
    1,734
    Thanks
    0
    Thanked 129 Times in 115 Posts

    Re: Queries regarding ANCOVA and MANCOVA

    Quote Originally Posted by statanx View Post
    Thanks to all of you...victorxstc, Dason, Dragan..

    I will try what Dragan told.

    Dragan, why do you prefer LSD over Bonferroni?

    I prefer it (LSD) because the Bonferroni adjustment is too conservative. Note that the omnibus F-test should be significant to use the LSD approach.

  13. The Following User Says Thank You to Dragan For This Useful Post:

    statanx (09-11-2012)

  14. #39
    Points: 1,253, Level: 19
    Level completed: 53%, Points required for next Level: 47

    Posts
    35
    Thanks
    36
    Thanked 0 Times in 0 Posts

    Re: Queries regarding ANCOVA and MANCOVA

    Quote Originally Posted by Dragan View Post
    I prefer it (LSD) because the Bonferroni adjustment is too conservative. Note that the omnibus F-test should be significant to use the LSD approach.
    ok.

    I think I need to go through all these post hoc procedures in detail.
    Can you please provide me with link (if you have) having the step wise procedure for ANCOVA/MANCOVA and the post hoc procedures?

  15. #40
    Multicollinearity hater
    Points: 6,538, Level: 52
    Level completed: 94%, Points required for next Level: 12
    victorxstc's Avatar
    Posts
    741
    Thanks
    170
    Thanked 181 Times in 163 Posts

    Re: Queries regarding ANCOVA and MANCOVA

    For doing ANCOVA go through "Menu toolbar -> Analyze -> General Linera Model -> Univariate" then hit OK so that the GUI starts. In the appeared dialog box, select your dependent variable and insert it using the arrows into the box labeled "Dependent variable". Then put your independent variables into the one of the two "Factors" boxes. Then put your covariates into the "Covariate" boxes.

    Now hit the button labeled "Options". Drag or insert your desired variables into a box labeled "Display means for".

    Then check the option "Compare main effects" below that box.

    Then from the drop-down menu below that box and that checked option, select one of the options "Bonferroni, LSD, or Sidak".

  16. The Following User Says Thank You to victorxstc For This Useful Post:

    statanx (09-11-2012)

  17. #41
    Multicollinearity hater
    Points: 6,538, Level: 52
    Level completed: 94%, Points required for next Level: 12
    victorxstc's Avatar
    Posts
    741
    Thanks
    170
    Thanked 181 Times in 163 Posts

    Re: Queries regarding ANCOVA and MANCOVA

    For doing MANCOVA, do the same. But when starting, instead of the path "Menu toolbar -> Analyze -> General Linera Model -> Univariate", go through the path "Menu toolbar -> Analyze -> General Linera Model -> Multivariate". The rest is the same. Note that in this dialog box, you can put more than one variable in the "dependent variable" box.

    Here is the step by step instruction to do MANOVA and MANCOVA:
    http://www.ucdenver.edu/academics/co...ANOVAHowTo.pdf

    Note that ANCOVA is similar. But the dialog box opens from the "Univariate" option (instead of Multivariate).

  18. The Following User Says Thank You to victorxstc For This Useful Post:

    statanx (09-11-2012)

  19. #42
    Multicollinearity hater
    Points: 6,538, Level: 52
    Level completed: 94%, Points required for next Level: 12
    victorxstc's Avatar
    Posts
    741
    Thanks
    170
    Thanked 181 Times in 163 Posts

    Re: Queries regarding ANCOVA and MANCOVA

    Although as Dragan stated, Bonferroni might be too conservative, it is still correct (the second form that Dragan taught us [the one which can work with covariates]). I suggest you playing with both tests and see if the P values given by the Bonferroni differ considerably from those given by the LSD or not. If I had a similar situation and saw that Bonferroni and LSD are showing similar results, I would publish the Bonferroni one, because I have seen it being used more.

    Besides, given the more conservative nature of Bonferroni, its significant P values are more reliable.

  20. The Following User Says Thank You to victorxstc For This Useful Post:

    statanx (09-11-2012)

  21. #43
    Points: 1,253, Level: 19
    Level completed: 53%, Points required for next Level: 47

    Posts
    35
    Thanks
    36
    Thanked 0 Times in 0 Posts

    Re: Queries regarding ANCOVA and MANCOVA


    Thanks a lot victorxstc for your quick replies, clarifying a number of my doubts and providing the stepwise procedure.

+ Reply to Thread
Page 3 of 3 FirstFirst 1 2 3

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