Click or drag to resize
ProportionalHazardsGetGradient Method
Returns the inverse of the Hessian times the gradient vector, computed at the initial estimates.

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

Return Value

Type: Double
A double array containing the inverse of the Hessian times the gradient vector, computed at the initial estimates.
Exceptions
ExceptionCondition
ClassificationVariableLimitExceptionis thrown if the classification variable limit set by the user through the MaxClass property has been exceeded.
Remarks

Note that the HessianOption property must be set to true and the SetInitialEstimates method must be invoked prior to invoking this method. Otherwise, the method throws an InvalidOperationException exception.

See Also