//
//Anova analysis command
//
//This command is use to variance analysis of length and breadth data.

//Syntax
anova [variables]/
options
;

//Options
count:nn    //nn:1 is only length. nn:2 is length and breadth variance analysis
plevel:.xx  //0.0 < .xx < 1.0  .xx is significat level. 


//Example 1 variance analysis of school subject points. 
//handin matrix
hand a1 a2 a3 a4/
63 64 59 83
58 64 87 79
64 68 79 65
58 61 71 67
77 56 65 80
66 71 65 72
52 64 65 80
64 65 71 75
49 85 74 72
66 75 58 84
;
//View histgram of subject points a1 ` a4.
plot hist a1-4;

//Execute length and breadth variance analysis with count=2 option. anova a1 - 4/ count=2 plevel=0.05 ;

//(Caution) //When names of arguments have continuous number suffix, //a written abbreviation can be allowed as follow. //a1 a2 a3 a4 -> a1 - 4 //Example 2 only length variance analysis with count=1 option. //Execute variance analysis //(Caution) if 1D vaiance analysis,lack data is permitted. hand b1 - 4/ 1.2 1.6 1.2 1.4 1.8 0.9 0.9 1.5 1.5 1.5 0.9 1.3 1.3 1.3 1.2 1.2 1.5 ? 1.1 ? 1.4 ? 0.9 ? ; anova b1 -4/ count=1 ;