StatsTukeyTest
StatsTukeyTest [/ALPH=val /NK/Q/Z/SWN/T=k /WSTR=wList ] [wave1, wave2,... wave100 ]
The StatsTukeyTest operation performs multiple comparison Tukey (HSD) test and optionally the Newman-Keuls test. Output is to the M_TukeyTestResults wave in the current data folder. StatsTukeyTest usually follows StatsANOVA1Test.
Flags
| /ALPH=val | Sets the significance level (default val =0.05). | ||||||
| /DEST=dstWave | Specify the destination wave for the Tukey test results. If you do not use this flag, the results are stored in the wave M_TukeyTestResults in the current data folder. | ||||||
| This flag was added in Igor Pro 10.00. | |||||||
| /DSTL=labWave | Specify the destination text wave for the descriptors of the test results (see /SWN). If you do not use this flag, the operation saves the text in the wave T_TukeyDescriptors in the current data folder. | ||||||
| This flag was added in Igor Pro 10.00. | |||||||
| /FREE | Creates the user-specified destination waves as free waves. | ||||||
| /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. | |||||||
| /NK | Computes the Newman-Keuls test. | ||||||
| /Q | No results printed in the history area. | ||||||
| /SWN | Creates a text wave, T_TukeyDescriptors, containing wave names corresponding to each row of the comparison table (Save Wave Names). Use /T to append the text wave to the last column. | ||||||
| /T=k | Displays results in a table. k specifies the table behavior when it is closed. | ||||||
| |||||||
| /WSTR=waveListString | |||||||
| Specifies a string containing a semicolon-separated list of waves that contain sample data. Use waveListString instead of listing each wave after the flags. | |||||||
| /Z | Ignores errors. V_flag will be set to -1 for any error and to zero otherwise. | ||||||
Details
Inputs to StatsTukeyTest are two or more 1D numeric waves (one wave for each group of samples) containing any numbers of points but with at least two or more valid entries.
The contents of the M_TukeyTestResults columns are: the first contains the difference between the group means
, the second contains SE (supports unequal number of points), the third contains the q statistic for the pair, and the fourth contains the critical q value, the fifth contains the conclusion with 0 to reject H0 (µi == µj) or 1 to accept H0, with /NK, the sixth contains the p values
the seventh contains the critical values, and the eighth contains the Newman-Keuls conclusion (with 0 to reject and 1 to accept H0). The order of the rows is such that all possible comparisons are computed sequentially starting with the comparison of the group having the largest mean with the group having the smallest mean.
V_flag will be set to -1 for any error and to zero otherwise.
See Also
Statistical Analysis, StatsANOVA1Test, StatsScheffeTest, StatsDunnettTest