npsi::JohnsonFit Class Reference
Detailed DescriptionFitting Johnson system of curves to histogrammed data using the maximum likelihood method Constructor & Destructor Documentation◆ JohnsonFit()
template<class Numeric , class Axis >
In the constructor, arguments are as follows: "histo" is the 1-d histogram to fit. "qmin" and "qmax" are the quantiles which define the fitted region. For example, set them to 0.05 and 0.95, respectively, if you would like to fit central 90% of the distribution. "minlog" limits the contribution of any single bin into the log-likelihood from below. No bin can contribute less then "minlog" even if the value of the fitted density for that bin is 0. Typically, this parameter should be set to a negative number with a reasonably large magnitude, on the order of log(DBL_MIN). Member Function Documentation◆ converged()
Check fit convergence. If the fit did not converge, the results will be set by simple array-based calculations. ◆ mean()
Examine fitted value ◆ minFitBin()
Figure out the region fitted. The minimum bin is included and the maximum bin is excluded from the fit. The documentation for this class was generated from the following file:
Generated by 1.9.1 |