View source: R/Rchoice.methods.R
bread.Rchoice | R Documentation |
Computes the “bread” of the sandwich covariance matrix for a model of class Rchoice
## S3 method for class 'Rchoice'
bread(x, ...)
x |
a fitted model of class |
... |
Other arguments when |
For more information see bread
from the package sandwich.
the covariance matrix times observations
Zeileis A (2006), Object-oriented Computation of Sandwich Estimators. Journal of Statistical Software, 16(9), 1–16.
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.