Changing the values of the levels affects the output as it tells ANOVA to which group the data belongs to. In my ANOVA Prototype.vi there are 3 sets of data: Control, Joggers, and Runners (data from Glantz's Biostatistics Figure 3-9). Thus for each value in the array X there is a corresponding value in the array Index (0:2) that tells 1D ANOVA.vi to which group the data belongs and then calculates if it rejects or accepts the null hypothesis based on the value of F for the selected P and corresponding critical F (see Glantz Chapters 2 and 3).
In Example 2 I provided the following groups of data,
Population Data
0 47,46
1 63, 62
2 64, 64
3 48
4 50
For your aircraft data in which you know there will be 5 groups of data you need to assign which data points correspond to which group. This can be done my way where there will be an array of data for each group, or the way of the rainfall example where the limits for the amount of rain are picked and then it calculates if the crop yield is significant for those levels of rainfall (that is what categorize level.vi does).
Message Edited by StephieU on
05-09-2008 03:49 PM