Small helper class that computes the lower and upper error of sigma assuming a normal distribution, i.e. More...
#include <ErrorOfSigma.h>
Public Member Functions | |
ErrorOfSigma (unsigned n) | |
C'tor takes the number of measured values. | |
virtual | ~ErrorOfSigma () |
Virtual d'tor. More... | |
double | lowerError (double sigma) |
The lower error of sigma. | |
double | upperError (double sigma) |
The upper error of sigma. | |
Protected Member Functions | |
virtual double | getChiSquaredPlus () |
Returns the chisquared value with P(chisquared) == 0.84. | |
virtual double | getChiSquaredMinus () |
Returns the chisquared value with P(chisquared) == 0.16. | |
Protected Attributes | |
unsigned | _n |
The number of degrees of freedom. | |
Small helper class that computes the lower and upper error of sigma assuming a normal distribution, i.e.
sigma has been computed as sigma = 1. / (n-1) * SUM_i_n( x_i - a_i )**2.
|
inlinevirtual |
Virtual d'tor.