descriptiveStatistics.hpp File Reference

File contains statistical tools. More...

#include <vector>
#include <algorithm>
#include <boost/assert.hpp>
#include <gsl/gsl_statistics.h>

Go to the source code of this file.

Functions

void julian::stats::descriptiveStatistics (const std::vector< double > &data)
 Procedure prints the basic statistical measures. More...
 
double julian::stats::mean (const std::vector< double > &data)
 Function calculates mean. More...
 
double julian::stats::variance (const std::vector< double > &data)
 Function calculates variance. More...
 
double julian::stats::variance (const std::vector< double > &data, const double mean)
 Function calculates variance using the provided mean. More...
 
double julian::stats::stdDev (const std::vector< double > &data)
 Function calculates standard deviation. More...
 
double julian::stats::stdDev (const std::vector< double > &data, const double mean)
 Function calculates standard deviation using the provided mean. More...
 
double julian::stats::absDev (const std::vector< double > &data)
 Function calculates absolute deviation. More...
 
double julian::stats::absDev (const std::vector< double > &data, const double mean)
 Function calculates absolute deviation using the provided mean. More...
 
double julian::stats::skew (const std::vector< double > &data)
 Function calculates skew. More...
 
double julian::stats::kurtosis (const std::vector< double > &data)
 Function calculates normalized kurtosis. More...
 
double julian::stats::pearsonCorr (const std::vector< double > &data1, const std::vector< double > &data2)
 Function calculates Pearson correlation. More...
 
double julian::stats::spearmanCorr (const std::vector< double > &data1, const std::vector< double > &data2)
 Function calculates Spearman correlation. More...
 
double julian::stats::max (const std::vector< double > &data)
 Function returns the maximum value. More...
 
double julian::stats::min (const std::vector< double > &data)
 Function returns the minimum value. More...
 
double julian::stats::median (const std::vector< double > data)
 Function returns median. More...
 
double julian::stats::percentile (const std::vector< double > data, const double &q)
 Function returns a quantile. More...
 
double julian::stats::IQR (const std::vector< double > &data)
 Returns interquartile range. More...
 

Detailed Description

File contains statistical tools.