+ Reply to Thread
Results 1 to 4 of 4

Thread: [Matlab] One-way ANOVA with 2 covariates [HowTo?]

  1. #1
    Points: 225, Level: 4
    Level completed: 50%, Points required for next Level: 25

    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    [Matlab] One-way ANOVA with 2 covariates [HowTo?]



    Hello everyone,

    (Big hello, my first post in this forum!)

    I was wondering how to do a one-way ANOVA with 2 covariates in Matlab. The problem is that I work with a variety of scripts and most are realized in matlab; also, I have absolutely no knowledge of R or any other powerful language that is aimed at statistics.

    Any help is greatly appreciated!

    Best wishes- kvendlar

  2. #2
    RotParaTon
    Points: 46,287, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Awards:
    Discussion EnderPosting AwardFrequent PosterCommunity AwardMaster Tagger
    Dason's Avatar
    Location
    Ames, IA
    Posts
    9,083
    Thanks
    211
    Thanked 1,609 Times in 1,379 Posts

    Re: Matlab: one-way ANOVA with 2 covariates [HowTo?]

    Can you describe your data a little more? I don't use matlab but when you say you want to do one-way ANOVA with 2 covariates - to me it sounds like you really want to do a 2-way ANOVA (or possibly an ANCOVA).
    "His programming is malfunctioning. It begins! Get your weapons, he's going to become a killbot!!!" - bryangoodrich

  3. #3
    Points: 225, Level: 4
    Level completed: 50%, Points required for next Level: 25

    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Matlab: one-way ANOVA with 2 covariates [HowTo?]

    Thank you for your quick reply, and sorry for the delay on my side!

    I actually want to calculate an ANCOVA (with 2 covariates). My data is the cortical thickness of roughly 140 brain regions of patients and healthy controls. So I would like to compare these considering the age and the average cortical thickness of the brain as covariates.

    Eventually, I would like to use false discovery rate to correct for multiple testing.

    I know that the aoctool in the statistic toolbox calculates an ANCOVA with one covariate and I know that the mafdr command adjusts for multiple comparisons.
    But I still don't know how to consider 2 covariates.
    Last edited by kvendlar; 04-20-2012 at 02:07 AM.

  4. #4
    RotParaTon
    Points: 46,287, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Awards:
    Discussion EnderPosting AwardFrequent PosterCommunity AwardMaster Tagger
    Dason's Avatar
    Location
    Ames, IA
    Posts
    9,083
    Thanks
    211
    Thanked 1,609 Times in 1,379 Posts

    Re: Matlab: one-way ANOVA with 2 covariates [HowTo?]


    You can do a statistical analysis in essentially any language - some just make certain operations easier than others.
    "His programming is malfunctioning. It begins! Get your weapons, he's going to become a killbot!!!" - bryangoodrich

+ 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