Skip to main content

StatsANOVA2RMTest

StatsANOVA2RMTest [/ALPH=significance /Q/Z/T=k ] srcWave

The StatsANOVA2RMTest operation performs analysis of variance (ANOVA) on srcWave where replicates consist of multiple measurements on the same subject (repeated measures). srcWave is a 2D wave of any numeric type. Output is to the M_ANOVA2RMResults wave in the current data folder or optionally to a table.

Flags

/ALPH=valSets the significance level (default 0.05).
/DEST=destWaveSpecify the output wave for the test. If you do not specify this flag, the operation stores the data in the wave M_ANOVA2RMResults in the current data folder.
This flag was added in Igor Pro 10.00.
/FREECreates the destination wave as a free wave.
/FREE is allowed only in functions, and only if the destination waves are simple names or wave reference structure fields.
See Free Waves for more discussion.
The /FREE flag was added in Igor Pro 10.00.
/QNo results printed in the history area.
/T=kDisplays results in a table. k specifies the table behavior when it is closed.
k =0:Normal with dialog (default).
k =1:Kills with no dialog.
k =2:Disables killing.
The table is associated with the test, not the data. If you repeat the test, it will update any existing table with the new results.
/ZIgnores errors. V_flag will be set to -1 for any error and to zero otherwise.

Details

Input to StatsANOVA2RMTest is the 2D srcWave in which the factor A (Groups) are columns and the different subjects are rows. It does not support NaNs or INFs.

The contents of the M_ANOVA2RMResults output wave columns are: the first contains the sum of the squares (SS) values, the second contains the degrees of freedom (DF), the third contains the mean square (MS) values, the fourth contains the single F value for this test, the fifth contains the critical F value for the specified alpha and degrees of freedom, and the last column contains the conclusion with 0 to reject H0 or 1 to accept it. In each case H0 corresponds the mean level, which is the same for all subjects.

V_flag will be set to -1 for any error and to zero otherwise.

See Also

Statistical Analysis, StatsANOVA2NRTest, StatsANOVA2Test

Demos

Open ANOVA2RM Demo.pxp