FACTEXT: Stata module to extract factor values from a label variable created by parmest
Roger Newson
Statistical Software Components from Boston College Department of Economics
Abstract:
factext is used to extract factors (categorical variables) from a label variable in an output data set created by the parmest package. The parmest package creates a data set with 1 obs per estimated parameter and data on the parameter estimates, confidence limits, P-values, and (optionally) also a variable named label, containing the variable label for the X-variable corresponding to the parameter. If the X-variable is a dummy variable created by xi, tabulate or John Hendrickx's desmat package, then the value of label will be of the form "varname==value", where varname is a variable name and value is a numeric or string value. factext uses this information to create new factors (categorical variables) with the specified varnames and values. These new variables can then be used to produce tables and/or plots. factext can be used together with the descsave package (q.v.)
Language: Stata
Requires: Stata version 16
Keywords: data; manipulation (search for similar items in EconPapers)
Date: 2001-07-06, Revised 2020-11-25
Note: This module may be installed from within Stata by typing "ssc install factext". The module is made available under terms of the GPL v3 (https://www.gnu.org/licenses/gpl-3.0.txt). Windows users should not attempt to download these files with a web browser.
References: Add references at CitEc
Citations:
Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/f/factext.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/f/factext.sthlp help file (text/plain)
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:bocode:s419601
Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php
Access Statistics for this software item
More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().