Allows a basis of functions (i.e. power term, sine term etc) to be selected for which the span of these elements will be considered for the purpose of curve fitting using GeneralLinear.
For a list of all members of this type, see FactorModel Members.
System.Object
FactorModel
A Factor Model is an ordered collection of functions who span forms a function vector space. That is, an example
of a Factor model a collection of (ordered) basis of functions (known as Basis Elements) f1(x), f2(x),..., fn(x).
Note that the Factor Model itself is a collection of order basis elements and it is the span of these (ordered) elements
which will form the regression model which can be applied with the class GeneralLinear.
Remark: The advantage of the Factor model over using the interface FunctionBasis when working with the regression modeling functionality provided within GeneralLinear is that the Factor model approach can be easily integrated and presented through a GUI. In particular, the 'add....' functions listed below can correspond to buttons within a GUI where once clicked can request the appropriate parameters.
Using this class the factor model can be iteratively built from calls to any one of the following methods:
and then this factor model can be set as the function basis using GeneralLinear.setFunctionBasis which defines a regression model which can then be modeled against the experimental data considered.
In particular, for a client application of the GeneralLinear class if you:
Now the important point with regard to the use of the Factor Model within GeneralLinear, is that you are able to set this instance on the Factor Model to the function basis used in GeneralLinear using GeneralLinear.setFunctionBasis. Then once the function basis has been set which in turn defines a regression model which you are able to analyze once it has been fitted against the experimental data using GeneralLinear.setGeneralFit.
In the example considered above this will mean that the Factor model will represent a regression model of the form:
a1 * f1(x) + a2 * f2(x) + ... + an * fn(x),
where f1(x) corresponds to the terms defined by the method call of AddPowerTerm,
f2(x) corresponds to the call of AddSineSum, and f3(x)
to the call of AddTabulatedFunction.
Namespace: WebCab.Libraries.Statistics.CurveFitting
Assembly: WebCab.DelphiLibraries.Statistics (in WebCab.DelphiLibraries.Statistics.dll)
FactorModel Members | WebCab.Libraries.Statistics.CurveFitting Namespace