Object-oriented Computation of Sandwich Estimators
Sandwich covariance matrix estimators are a popular tool in applied regression modeling for performing inference that is robust to certain types of model misspecification. Suitable implementations are available in the R system for statistical computing for certain model fitting functions only (in particular lm()), but not for other standard regression functions, such as glm(), nls(), or survreg(). Therefore, conceptual tools and their translation to computational tools in the package sandwich are discussed, enabling the computation of sandwich estimators in general parametric models. Object orientation can be achieved by providing a few extractor functions' most importantly for the empirical estimating functions' from which various types of sandwich estimators can be computed.
References listed on IDEAS
Please report citation or reference errors to , or , if you are the registered author of the cited work, log in to your RePEc Author Service profile, click on "citations" and make appropriate adjustments.:
- Deb, Partha & Trivedi, Pravin K, 1997. "Demand for Medical Care by the Elderly: A Finite Mixture Approach," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 12(3), pages 313-36, May-June.
- Newey, Whitney K & West, Kenneth D, 1994.
"Automatic Lag Selection in Covariance Matrix Estimation,"
Review of Economic Studies,
Wiley Blackwell, vol. 61(4), pages 631-53, October.
- Kenneth D. West & Whitney K. Newey, 1995. "Automatic Lag Selection in Covariance Matrix Estimation," NBER Technical Working Papers 0144, National Bureau of Economic Research, Inc.
- Donald W.K. Andrews, 1988.
"Heteroskedasticity and Autocorrelation Consistent Covariance Matrix Estimation,"
Cowles Foundation Discussion Papers
877R, Cowles Foundation for Research in Economics, Yale University, revised Jul 1989.
- Andrews, Donald W K, 1991. "Heteroskedasticity and Autocorrelation Consistent Covariance Matrix Estimation," Econometrica, Econometric Society, vol. 59(3), pages 817-58, May.
- James G. MacKinnon & Halbert White, 1983.
"Some Heteroskedasticity Consistent Covariance Matrix Estimators with Improved Finite Sample Properties,"
537, Queen's University, Department of Economics.
- MacKinnon, James G. & White, Halbert, 1985. "Some heteroskedasticity-consistent covariance matrix estimators with improved finite sample properties," Journal of Econometrics, Elsevier, vol. 29(3), pages 305-325, September.
- T. Lumley & P. Heagerty, 1999. "Weighted empirical adaptive variance estimators for correlated data regression," Journal of the Royal Statistical Society Series B, Royal Statistical Society, vol. 61(2), pages 459-477.
- Fair, Ray C, 1978.
"A Theory of Extramarital Affairs,"
Journal of Political Economy,
University of Chicago Press, vol. 86(1), pages 45-61, February.
- Kiefer, Nicholas M. & Vogelsang, Timothy J., 2002. "Heteroskedasticity-Autocorrelation Robust Testing Using Bandwidth Equal To Sample Size," Econometric Theory, Cambridge University Press, vol. 18(06), pages 1350-1366, December.
- Cribari-Neto, Francisco, 2004. "Asymptotic inference under heteroskedasticity of unknown form," Computational Statistics & Data Analysis, Elsevier, vol. 45(2), pages 215-233, March.
- Achim Zeileis, . "Econometric Computing with HC and HAC Covariance Matrix Estimators," Journal of Statistical Software, American Statistical Association, vol. 11(i10).
When requesting a correction, please mention this item's handle: RePEc:jss:jstsof:16:i09. See general information about how to correct material in RePEc.
For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: (Christopher F. Baum)
If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.
If references are entirely missing, you can add them using this form.
If the full references list an item that is present in RePEc, but the system did not link to it, you can help with this form.
If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your profile, as there may be some citations waiting for confirmation.
Please note that corrections may take a couple of weeks to filter through the various RePEc services.