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.
Download Info
To download:
If you experience problems downloading a file, check if you have the
proper application to
view it first. Information about this may be contained
in the File-Format links below. 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.
Publisher Info
Software component provided by Boston College Department of Economics in its series Statistical Software Components with number
S415201.
Size: Programming language: Stata Requires: Stata version 10 Date of creation: 22 Nov 2000 Date of revision:
07 Jul 2009 Handle: RePEc:boc:bocode:s415201
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. Contact details of provider: Postal: Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA Phone: 617-552-3670 Fax: +1-617-552-2308 Email: Web page: http://fmwww.bc.edu/EC/ More information through EDIRC