English, Article edition: EXPGEN: Stata module to duplicate observations sorted in original order with generated variables Roger Newson

User activity

Share to:
 
Bookmark: http://trove.nla.gov.au/version/25566
Physical Description
  • code
Language
  • English

Edition details

Title
  • EXPGEN: Stata module to duplicate observations sorted in original order with generated variables
Author
  • Roger Newson
Physical Description
  • code
Notes
  • 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.
  • data manipulation
  • RePEc:boc:bocode:s415201
Language
  • English
Contributed by
OAIster

Get this edition

  • Set up My libraries

    How do I set up "My libraries"?

    In order to set up a list of libraries that you have access to, you must first login or sign up. Then set up a personal list of libraries from your profile page by clicking on your user name at the top right of any screen.

  • All (1)
  • Unknown (1)
None of your libraries hold this item.
None of your libraries hold this item.
None of your libraries hold this item.
None of your libraries hold this item.
None of your libraries hold this item.
None of your libraries hold this item.
None of your libraries hold this item.
None of your libraries hold this item.

User activity


e.g. test cricket, Perth (WA), "Parkes, Henry"

Separate different tags with a comma. To include a comma in your tag, surround the tag with double quotes.

Be the first to add a tag for this edition

Be the first to add this to a list

Comments and reviews

What are comments? Add a comment

No user comments or reviews for this version

Add a comment