Monday, June 21, 2010

ANOVA and Tukey HSD in MATLAB

To perform ANOVA followed up by Tukey HSD in MATLAB do the following.


  1. Create a table where each column represents a different system and each row represents a different domain (data source upon which the evaluations are performed).
  2. Save this file in csv and import it into MATLAB using the data import wizard or dlmread function.
  3. Now call one way ANOVA as follows.
    [p,t,st] = anova1(dataMatrix)
  4. Now run Tukey HSD using st as follows,
    [c,m,h,nms] = multcompare(st)

No comments:

Post a Comment

Continuously monitor GPU usage

 For nvidia GPUs do the follwing: nvidia-smi -l 1