Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages

StatisticFunctions.h File Reference

(Maintainer: Clemens Groepl)

#include <numeric>
#include <OpenMS/CONCEPT/Types.h>

Go to the source code of this file.

Namespaces

namespace  OpenMS
namespace  OpenMS::Math

Functions

template<typename IteratorType1, typename IteratorType2>
static DoubleReal meanSquareError (IteratorType1 begin_a, const IteratorType1 end_a, IteratorType2 begin_b, const IteratorType2 end_b)
 Calculates the mean square error for the values in [begin_a, end_a) and [begin_b, end_b).
template<typename IteratorType1, typename IteratorType2>
static Real classificationRate (IteratorType1 begin_a, const IteratorType1 end_a, IteratorType2 begin_b, const IteratorType2 end_b)
 Calculates the classification rate for the values in [begin_a, end_a) and [begin_b, end_b).
template<typename IteratorType1, typename IteratorType2>
static DoubleReal matthewsCorrelationCoefficient (IteratorType1 begin_a, const IteratorType1 end_a, IteratorType2 begin_b, const IteratorType2 end_b)
 Calculates the Matthews Correlation Coefficient for the values in [begin_a, end_a) and [begin_b, end_b).
template<typename IteratorType1, typename IteratorType2>
static DoubleReal pearsonCorrelationCoefficient (IteratorType1 begin_a, IteratorType1 end_a, IteratorType2 begin_b, IteratorType2 end_b) throw (Exception::InvalidRange)
 calculates the pearson correlation coefficient for the values in [begin_a, end_a) and [begin_b, end_b)


Generated Tue Apr 1 15:36:39 2008 -- using doxygen 1.5.4 OpenMS / TOPP 1.1