SAS macro %dip: Macros to Conduct Tests of Multimodality in SAS. 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.
Keywords for this software
References in zbMATH (referenced in 3 articles )
Showing results 1 to 3 of 3.
- Neville, Zachariah; Brownstein, Naomi C.: Macros to conduct tests of multimodality in SAS (2018)
- Zachariah Neville, Naomi Brownstein: Macros to Conduct Tests of Multimodality in SAS (2018) arXiv
- Hartigan, J. A.; Hartigan, P. M.: The dip test of unimodality (1985)