New factor variables features in Stata
AbstractIn this presentation, I cover how to use the new factor variables features in Stata 11. Stata’s new factor variables notation allows you to identify categorical covariates as factor variables, provides a convenient notation for specifying indicator variables without having to generate them, and allows interactions of factor variables with other factor variables or continuous covariates. We will also cover the new margins postestimation command. margins is a powerful yet easy-to-use command for computing expected marginal means, predictive margins, adjusted predictions, average marginal effects, and conditional marginal effects. Standard errors in margins can be estimated conditionally on the observed/specified covariate values or unconditionally via linearization.
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 DC09 Stata Conference with number 9.
Date of creation: 11 Aug 2009
Date of revision:
This paper has been announced in the following NEP Reports:
- NEP-ALL-2009-09-19 (All new papers)
You can help add them by filling out this form.
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.