Computes the weight, frequency, and partial derivatives of the residual given the parameter vector theta for a single observation.
double
array which contains the parameter values of the regression function. int
value indicating the observation index. double
array of length 1 containing the frequency for observation y[iobs]
. double
array of length 1 containing the weight for the observation y[iobs]
. double
array containing the partial derivatives of the error (residual) for observation y[iobs]
. A bool
value representing the completion indicator. true
indicates iobs is less than the number of observations. false
indicates iobs is greater than or equal to the number of observations and wt, freq, and de are not output.
The length of theta corresponds to the number of unknown parameters in the regression function.
The function is evaluated at observation y[iobs]
.
Use wt = 1.0 for equal weighting (unweighted least squares).
The length of de corresponds to the number of unknown parameters in the regression function.
NonlinearRegression.IDerivative Interface | Imsl.Stat Namespace