Learn R Programming

Rchoice (version 0.3-6)

estfun.Rchoice: Gradient for observations

Description

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

Usage

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

Value

the gradient matrix of dimension n times k

Arguments

x

a fitted model of class Rchoice,

...

Other arguments when estfun is applied to another class object

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.