npstat is hosted by Hepforge, IPPP Durham
NPStat  5.10.0
StatUtils.hh File Reference

Statistical utilities which did not end up in dedicated headers. More...

#include <vector>
#include "npstat/stat/StatUtils.icc"

Go to the source code of this file.

Namespaces

 npstat
 

Functions

template<typename Data >
Data npstat::empiricalQuantile (const std::vector< Data > &data, double x, bool increaseRange=false)
 
template<typename Data >
double npstat::empiricalCdf (const std::vector< Data > &data, const Data &x)
 
template<typename Data >
double npstat::simpleEmpiricalCdf (const std::vector< Data > &data, const Data &x)
 
template<typename Data >
unsigned long npstat::quantileBinFromCdf (const Data *cdf, unsigned long arrLen, Data cdfValue, Data *remainder=0)
 
template<typename Real >
Real npstat::squaredDerivativeIntegral (Real *fvalues, unsigned long arrLen, unsigned n, Real h)
 
template<typename Real >
bool npstat::normalizeArrayAsDensity (Real *arr, unsigned long arrLen, double binwidth, double *normfactor=0)
 
double npstat::aicc (const double ndof, const double logli, const double n)
 
double npstat::AD (const double n, const double z)
 

Detailed Description

Statistical utilities which did not end up in dedicated headers.

Author: I. Volobouev

March 2010