Class MathewsCorrArrow

java.lang.Object
edu.cmu.tetrad.algcomparison.statistic.MathewsCorrArrow
All Implemented Interfaces:
Statistic, Serializable

public class MathewsCorrArrow extends Object implements Statistic
Calculates the Matthew's correlation coefficient for adjacencies. See this page in Wikipedia:

...

We calculate the correlation directly from the confusion matrix.

if the true contains X*->Y and estimated graph either does not contain an edge from X to Y or else does not contain an arrowhead at X for an edge from X to Y, one false positive is counted. Similarly, for false negatives

Version:
$Id: $Id
Author:
josephramsey
See Also: