Abstract:
sencode is a sequential version of encode. It takes, as input, a string variable, and generates, as output, a numeric variable, with value labels corresponding to values of the string variable. Unlike encode, sencode orders the numeric values corresponding to string values in the sequential order of appearance in the input string variable in the data set, or in another order specified by the user, instead of ordering them in alphanumeric order of the string value, as encode does. The mapping from numeric code values to string labels may be one-to-one (coded in order of first appearance of the string value) or many-to-one (coded in each observation by the position of that observation in the data set, or in the user-specified ordering).
Language: Stata Requires: Stata version 9.0 Keywords:data; manipulation (search for similar items in EconPapers) Date: Written 2001-04-06 Note: This module may be installed from within Stata by typing "ssc install sencode". Windows users should not attempt to download these files with a web browser.
More software in Statistical Software Components from Boston College Department of Economics Address: Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA Contact information at EDIRC. Series data maintained by Christopher F Baum ().
This site is part of RePEc
and all the data displayed here is part of the RePEc data set.
Is your work missing from RePEc? Here is how to
contribute.
Questions or problems? Check the EconPapers FAQ or send mail to .