Last chance! 50% off unlimited learning
Sale ends in
Estimating the variance of the estimating functions of a regression model by cross products of the empirical estimating functions.
meat(x, adjust = FALSE, …)
a fitted model object.
logical. Should a finite sample adjustment be made?
This amounts to multiplication with
arguments passed to the estfun
function.
A
For some theoretical background along with implementation details see Zeileis (2006).
Zeileis A (2006). “Object-Oriented Computation of Sandwich Estimators.” Journal of Statistical Software, 16(9), 1--16. 10.18637/jss.v016.i09
Zeileis A, K<U+00F6>ll S, Graham N (2020). “Various Versatile Variances: An Object-Oriented Implementation of Clustered Covariances in R.” Journal of Statistical Software, 95(1), 1--36. 10.18637/jss.v095.i01
# NOT RUN {
x <- sin(1:10)
y <- rnorm(10)
fm <- lm(y ~ x)
meat(fm)
meatHC(fm, type = "HC")
meatHAC(fm)
# }
Run the code above in your browser using DataLab