simbin(mat1,mat2,ty​pe,mask)

Version 5.6.16.0 (23.8 KB) by Jeff
Computes 106 measures of similarity and dissimilarity (distance) between two binary matrices
538 Downloads
Updated 6 May 2016

View License

Computes 106 measures of similarity and dissimilarity (distance) between two binary matrices. Matrices can be any dimensions, but must have the same dimensions. A mask can be used to indicate the relevant elements of the matrices (needed when the measure takes into account elements present in neither binary object).
Metrics:
AMPLE, Anderberg's D, Anderberg, Baulieu, Braun and Blanquet, bc, Benini, Binary euclidean distance, Binary Lance and Williams nonmetric, Browsing pattern, Binary squared euclidean distance, Binary shape, Baroni-Urbani and Buser 1 and 2, Chi Square with Yates correction, Chord, Cohen's kappa, Cole, Dennis, Dice, Dice asymmetric 1 and 2, Digby, Dispersion, Driver and Kroeber, Eyraud, Fager, Faith, Fager and McGowan, Forbes's D, Fleiss, Forbes, Fossum, Gilbert's coefficient, Gini index, Goodman and Kruskal 1, 2, 3, and 4, Goodman and Kruskal's lambda, Goodman and Kruskal's tau, Goodall's angular transformation of simple matching coefficient, Gower, Gilbert and Wells, Hamann, Hawkins and Dotson 1975, Hellinger, Inner product, Intersection of two masks, Jaccard, Johnson, Kuhns's coefficient of arithmetic means, Koppen 1 and 2, Kuhns' proportion of overlap above independence, Kulczynski, Mean Manhattan, Michael, Mirkin, Maron and Kuhns, Modified gini index, Mountford, Maxwell and Pilliner, Ochiai, Pattern, Pearson's chi-square, Peirce 1 and 2, Pearson and Heron, Fourfold point correlation, Pearson's coefficient of mean square contingency, Q0, R cost, Relative decrease of error probability, Retrieval pattern, Russell and Rao, Rogers and Tanimoto, Savage, S cost, Scott, Simpson's ecological coexistence coefficient, Sokal and Michener's simple matching, Soergel distance, Sorensen, Sorgenfrei, Sneath pattern difference, Sokal and Sneath 1, 2, 3, 4, and 5, Stuart's tau, Steffensen, Stiles, T combined cost, Tarantula, Tarwid, Tversky's feature contrast model, U cost, Unigram subtuples, Upholt's S and F, Variance, Yule's Q coefficient of association, Yule's Q distance, Yule's Y (or omega) coefficient of colligation

Cite As

Jeff (2024). simbin(mat1,mat2,type,mask) (https://www.mathworks.com/matlabcentral/fileexchange/55190-simbin-mat1-mat2-type-mask), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
5.6.16.0

Small bugfix that prevented function from working with some distributions of matlab

1.24.16.0

Title change, no change to file