Click or drag to resize
NonlinearRegressionSolve Method
Solves the least squares problem and returns the regression coefficients.

Namespace: Imsl.Stat
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax
public virtual double[] Solve(
	NonlinearRegressionIFunction F
)

Parameters

F
Type: Imsl.StatNonlinearRegressionIFunction
An NonlinearRegressionIFunction whose coefficients are to be computed.

Return Value

Type: Double
A double array containing the regression coefficients.
Exceptions
ExceptionCondition
TooManyIterationsException is thrown when the number of allowed iterations is exceeded
NegativeFreqException is thrown when the specified frequency is negative
NegativeWeightException is thrown when the weight is negative
See Also