Abstract:
expgen is an extended version of expand. It replaces each observation in the current dataset with nc copies of the observation, sorted in the original order, where nc is equal to the integer part int(ncexp) of the required expression ncexp. expgen may also add new variables. These are newvarname1 (containing the value of the expression ncexp), newvarname2 (containing the sequential order of the original observation in the old data set), and newvarname3 (containing the sequential order of each copy in the set of copies generated from its original observation). If missing and/or zero is specified, then observations in the old data set with missing and/or non-positive values for int(ncexp) are each replaced by one observation in the new data set.
Language: Stata Requires: Stata version 10 Keywords:data; manipulation (search for similar items in EconPapers) Date: 2000-11-22, Revised 2009-07-07 Note: This module may be installed from within Stata by typing "ssc install expgen". 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 .