bread.Rchoice function

Bread for sandwiches

Bread for sandwiches

Computes the ``bread'' of the sandwich covariance matrix for a model of class Rchoice

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

Arguments

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

Returns

the covariance matrix times observations

Details

For more information see bread from the package sandwich.

Examples

## Probit model data("Workmroz") probit <- Rchoice(lfp ~ k5 + k618 + age + wc + hc + lwg + inc, data = Workmroz , family = binomial('probit')) summary(probit) library("sandwich") bread(probit)

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