next up previous contents
Next: The analysis class Up: Analyzing the results Previous: Covariance and correlation

Fitting curves and distributions

The library also provides methods for fitting a linear or quadratic curve and for fitting a probability distribution on the histogram data. In both cases, the belonging statistic and probability are given. The following window was obtained by filling a histogram (with a column width of 0.5) with 10000 samples from the normal distribution with a mean of 5 and a standard deviation of 1.3. The analysis::normal method received these parameters, when invoked. If not, the method had calculated the a and b values from the histogram data.


A Eliens
Tue Oct 31 09:27:21 MET 1995