Extending xi
Phil Ender () and
Michael Mitchell
Additional contact information
Phil Ender: UCLA Department of Education
Michael Mitchell: UCLA Academic Technology Services
No 2, North American Stata Users' Group Meetings 2003 from Stata Users Group
Abstract:
Stata's xi command performs dummy (indicator) coding on the fly and with the "*" operator allows for the interaction of two categorical variables or a categorical with a continuous variable. xi3 extends the capabilities of xi to include a number of additional coding systems and can create codings that allow for testing simple contrasts and simple effects. In addition to indicator coding, xi3 supports the following coding schemes: simple coding - compares each level to a reference level deviation coding - deviations from the grand mean Helmert coding - compares levels of a variable w/ the mean of subsequent levels reverse Helmert coding - compares levels of a variable w/ the mean of previous levels forward differences - adjacent levels, each vs. next backward differences - adjacent levels, each vs. previous orthogonal polynomial coding Additionally, xi3 supports user defined coding schemes which allow virtually any type of contrast to be used. Like xi, xi3 can be used in conjunction any of the estimation commands. xi3 will do three-way interactions with categorical variables, a mixture of categorical and continuous variables, or with continuous variables alone. xi3 can be issued as a stand alone command. In addition to the "*" operator for interactions, xi3 adds the "@" operator which performs the coding separately for each level of the second variable to allow for simple contrasts and simple effects.
Date: 2002-12-29
New Economics Papers: this item is included in nep-cmp
References: Add references at CitEc
Citations:
Downloads: (external link)
http://fmwww.bc.edu/repec/nasug2003/extendxi.html (text/html)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:boc:asug03:02
Access Statistics for this paper
More papers in North American Stata Users' Group Meetings 2003 from Stata Users Group Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().