Template Function mrpt::math::confidenceIntervalsFromHistogram
Defined in File distributions.h
Function Documentation
-
template<typename CONTAINER, typename T>
void mrpt::math::confidenceIntervalsFromHistogram(const CONTAINER &histogramCoords, const CONTAINER &histogramNormalizedHits, T &out_lower_conf_interval, T &out_upper_conf_interval, const double confidenceInterval = 0.1) Return the mean and the 10%-90% confidence points (or with any other confidence value) of a set of samples from their histogram. The container can be any MRPT container (CArray, matrices, vectors).
- Parameters:
confidenceInterval – A number in the range (0,1) such as the confidence interval will be [100*confidenceInterval, 100*(1-confidenceInterval)].