moj.similarity.measures
Class BinOGES_row
java.lang.Object
moj.similarity.SimilarityMeasure
moj.similarity.measures.BinOGES_row
public class BinOGES_row
- extends SimilarityMeasure
OGE MEASURE OF ASSOCIATION
http://www.psych.cornell.edu/Darlington/crosstab/table3.htm
OGE has a frequency interpretation that many users will find more
appealing than the ratio-scale interpretation of phi2. OGE stands for
"o greater than e", and is based on the number of cases falling in cells
for which o>e.
Similarity [0, 1].
Usage: for binary data.
- Version:
- 2004-Oct-25
- Author:
- Martin Hassel
BinOGES_row
public BinOGES_row()
analyzeMatrix
public double[][] analyzeMatrix(float[][] data_matrix)
- Specified by:
analyzeMatrix
in class SimilarityMeasure
- Parameters:
data_matrix
- an array of float
arrays denoting the
rows in the matrix that are to be compared for similarity.
- Returns:
- an array of
double
arrays containing the
similarities between all rows