Skip to main content

StatsSignTest

StatsSignTest [/ALPH=significance /Q/Z/T=k ] wave1,wave2

The StatsSignTest operation performs the sign test for paired-sample data contained in wave1 and wave2.

Flags

/ALPH=valSets the significance level (default 0.05).
/DEST=stWaveSpecify the destination wave for the sign test results. If you do not use this flag, the operation saves the output in the wave W_SignTest in the current data folder.
This flag was added in Igor Pro 10.00.
/FREECreates the user-specified 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.
/ZIgnores errors. V_flag will be set to -1 for any error and to zero otherwise.

Details

The input waves must be the equal length, real numeric waves and must not contain any NaNs or INFs. Results are saved in the wave W_SignTest and are optionally displayed in a table. StatsSignTest computes the differences in each pair and counts the total number of entries with positive and negative differences, and tests the results using a binomial distribution. When the number of data pairs exceeds 1024 it uses a normal approximation to the binomials for calculating the probabilities and the power of the test.

References

Zar, J.H., Biostatistical Analysis, 4th ed., 929 pp., Prentice Hall, Englewood Cliffs, New Jersey, 1999.

See Also

Statistical Analysis, StatsWilcoxonRankTest