Tricks of the trade: Getting the most out of xtmixed
AbstractStata’s xtmixed command can be used to fit mixed models, models that contain both fixed and random effects. The fixed effects are merely the coefficients from a standard linear regression. The random effects are not directly estimated but summarized by their variance components, which are estimated from the data. As such, xtmixed is typically used to incorporate complex and multilevel random-effects structures into standard linear regression. xtmixed’s syntax is complex but versatile, allowing it to be used widely, even for situations that do not fit the classical "mixed" framework. In this talk, I will give a tutorial on uses of xtmixed not commonly considered, including examples of heteroskedastic errors, group structures on random effects, and smoothing via penalized splines.
Download InfoIf you experience problems downloading a file, check if you have the proper application to view it first. In case of further problems read the IDEAS help page. Note that these files are not on the IDEAS site. Please be patient as the files may be large.
Bibliographic InfoPaper provided by Stata Users Group in its series Fall North American Stata Users' Group Meetings 2008 with number 18.
Date of creation: 16 Nov 2008
Date of revision:
This paper has been announced in the following NEP Reports:
- NEP-ALL-2008-11-25 (All new papers)
You can help add them by filling out this form.
CitEc Project, subscribe to its RSS feed for this item.
- Caviglia-Harris, Jill L. & Harris, Daniel, 2011. "The Impact of Settlement Design on Tropical Deforestation Rates and Resulting Land Cover Patterns," Agricultural and Resource Economics Review, Northeastern Agricultural and Resource Economics Association, vol. 40(3), December.
For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: (Christopher F Baum).
If references are entirely missing, you can add them using this form.