Package com.imsl.test.example.stat
Class UserBasisRegressionEx1
java.lang.Object
com.imsl.test.example.stat.UserBasisRegressionEx1
Fits a regression to a function without noise with user defined basis functions.
In this example, we fit the function \(y = 1 + sin(x) + 7 * sin(3x)\) with no error introduced. The function is evaluated at \( 90 \) equally spaced points on the interval \([0, 6]\). Four basis functions are used, \(sin(kx), k = 1,...,4 \) with no intercept.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
UserBasisRegressionEx1
public UserBasisRegressionEx1()
-
-
Method Details
-
main
-