Macros to Conduct Tests of Multimodality in SAS

02/01/2018
by   Zachariah Neville, et al.
0

The Dip Test of Unimodality and Silverman's Critical Bandwidth Test are two popular tests to determine if an unknown density contains more than one mode. While the tests can be easily run in R, they are not included in SAS software. We provide implementations of the Dip Test and Silverman Test as macros in the SAS software, capitalizing on the capability of SAS to execute R code internally. Descriptions of the macro parameters, installation steps, and sample macro calls are provided, along with an appendix for troubleshooting. We illustrate the use of the macros on data simulated from one or more Gaussian distributions as well as on the famous iris dataset.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset