The following tables list the members exposed by ForecastEngine.
Name | Description | |
---|---|---|
ForecastEngine Constructor |
Name | Description | |
---|---|---|
TrendLine | Overloaded. Given a set of data points x[0..ndata-1],y[0..ndata-1] with individual standard deviations sig[0..ndata-1], fit them to a straight line y = a + bx by minimizing ¥ö2. Returned are a,b and their respective probable uncertainties siga and sigb, the chi-square chi2, and the goodness-of-fit probability q (that the fit would have ¥ö2 this large or larger). If mwt=0 on input, then the standard deviations are assumed to be unavailable: q is returned as 1.0 and the normalization of chi2 is to unit standard deviation on all points. | |
TrendLineExponential | Overloaded. Find the best fit for the function f(x) = A * pow(e, B*x ) where B = b and A = exp( a). | |
TrendLineLogarithmic | Overloaded. Find the best fit for the function f(x) = a + b * ln(x). | |
TrendLinePolynomial | Overloaded. Fits a polynomial of a given degree to a data set in accordance with the least squares approach and returned the values of the fitted function over the same range of the x-coordinate as the given data set. | |
TrendLinePower | Overloaded. Find the best fit for the function f(x) = A * pow (x, B ) where B = b and A = pow(e, a). |