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, ...)
x
: a fitted model of class Rchoice
,...
: Other arguments when estfun
is applied to another class objectthe gradient matrix of dimension n times k
For more information see estfun
from package sandwich
.
Zeileis A (2006), Object-oriented Computation of Sandwich Estimators. Journal of Statistical Software, 16(9), 1--16.