estfun.Rchoice function

Gradient for observations

Gradient for observations

It extracts the gradient for each observations evaluated at the estimated parameters for a model of class Rchoice

## S3 method for class 'Rchoice' estfun(x, ...)

Arguments

  • x: a fitted model of class Rchoice,
  • ...: Other arguments when estfun is applied to another class object

Returns

the gradient matrix of dimension n times k

Details

For more information see estfun from package sandwich.

References

Zeileis A (2006), Object-oriented Computation of Sandwich Estimators. Journal of Statistical Software, 16(9), 1--16.

  • Maintainer: Mauricio Sarrias
  • License: GPL (>= 2)
  • Last published: 2023-03-10