Namespace:
Imsl.Stat
Assembly:
ImslCS (in ImslCS.dll) Version: 6.5.0.0
Syntax
C# |
---|
[SerializableAttribute] public class UserBasisRegression |
Visual Basic (Declaration) |
---|
<SerializableAttribute> _ Public Class UserBasisRegression |
Visual C++ |
---|
[SerializableAttribute] public ref class UserBasisRegression |
Remarks
Fits a linear function of the form






UserBasisRegression generalizes the concept of linear regression to user defined basis functions. The linear regression model is




This makes it easier for users to fit complex univariate models. For example, the LinearRegression class can be used to fit polynomials such as


With UserBasisRegression, these columns can be automatically generated.
For this polynomial model, the user would define a user basis function
. The UserBasisRegression class
automatically inserts the necessary values into the regression equation and
then calculates the coefficients and analysis of variance statistics.
Since the user provides a method for calculating the basis function, other more complex user basis functions are possible such as


