Skip to main content
Log in

The adjusted rand statistic: A SAS macro

  • Computational Psychometrics
  • Published:
Psychometrika Aims and scope Submit manuscript

Abstract

A macro for calculating the Hubert and Arabie (1985) adjusted Rand statistic is presented. The adjusted Rand statistic gives a measure of classification agreement between two partitions of the same set of objects. The macro is written in the SAS macro language and makes extensive use of SAS/IML software (SAS Institute, 1985a, 1985b). The macro uses two different methods of handling missing values. The default method assumes that each object that has a missing value for the classification category is in its own separate category or cluster for that classification. The optional method places all objects with a missing value for the classification category into the same category for that classification.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  • Berzins, J. I., Ross, W. F., English, G. E., & Haley, J. V. (1974). Subgroups among opiate addicts: A typological investigation.Journal of Abnormal Psychology, 83(1), 65–73.

    Google Scholar 

  • Cohen, J. (1960). A coefficient of agreement for nominal scales.Educational and Psychological Measurement, 20(1), 37–46.

    Google Scholar 

  • Edelbrock, C. (1979). Mixture model tests of hierarchical clustering algorithms: The problem of classifying everybody.Multivariate Behavioral Research, 14, 367–384.

    Google Scholar 

  • Filstead, W. J., Drachman, D. A., Rossi, J. J., & Getsinger, S. H. (1983). The relationship of MMPI subtype membership to demographic variables and treatment outcome among substance misusers.Journal of Studies on Alcohol, 44(5), 917–922.

    Google Scholar 

  • Fisher, D. G., Anglin, M. D., Weisman, C. P., & Pulliam, L. (1988).Replication problems of substance abuser MMPIcluster types. Unpublished manuscript.

  • Hubert, L., & Arabie, P. (1985). Comparing partitions.Journal of Classification, 2, 193–218.

    Google Scholar 

  • Lorr, M., & Radhakrishnan, B. K. (1967). A comparison of two methods of cluster analysis.Educational and Psychological Measurement, 27, 47–53.

    Google Scholar 

  • Milligan, G. W., & Cooper, M. C. (1986). A study of the comparability of external criteria for hierarchical cluster analysis.Multivariate Behavioral Research, 21, 441–458.

    Google Scholar 

  • Morey, L. C., & Agresti, A. (1984). The measurement of classification agreement: An adjustment to the Rand statistic for chance agreement.Educational and Psychological Measurement, 44, 33–37.

    Google Scholar 

  • Ramsay, J. O. (1986). A PROC MATRIX program for preference-dissimilarity multidimensional scaling.Psychometrika, 51, 163–170.

    Google Scholar 

  • Rand, W. M. (1971). Objective criteria for the evaluation of clustering methods.Journal of the American Statistical Association, 66(336), 846–850.

    Google Scholar 

  • SAS Institute. (1979).SAS user's guide: 1979 edition. Cary, NC: Author.

    Google Scholar 

  • SAS Institute. (1985a).SAS/IML user's guide: Version 5 edition. Cary, NC: Author.

    Google Scholar 

  • SAS Institute. (1985b).SAS user's guide: Basics, Version 5 edition. Cary, NC: Author.

    Google Scholar 

  • Wishart, D. (1982).CLUST'AN user manual (Third edition). Edinburgh: Program Library Unit, Edinburgh University.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Additional information

This study was supported in part by Individual National Research Service Award F32 DA 05283 from the National Institute on Drug Abuse.

Requests for the Macro code can be sent via BITNET: CUSGPXH @ UCLAMVS. A copy of the macrocode can also be obtained by sending a stamped self-addressed mailer and a PC-DOS formatted floppy diskette to Paul Hoffman, 5628 MSA, UCLA, Los Angeles, CA 90024-1557.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Fisher, D.G., Hoffman, P. The adjusted rand statistic: A SAS macro. Psychometrika 53, 417–423 (1988). https://doi.org/10.1007/BF02294222

Download citation

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF02294222

Keywords

Navigation