English, Article edition: SENCODE: Stata module to encode a string variable non-alphanumerically into a numeric variable Roger Newson

User activity

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

Edition details

Title
  • SENCODE: Stata module to encode a string variable non-alphanumerically into a numeric variable
Author
  • Roger Newson
Physical Description
  • code
Notes
  • 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).
  • data manipulation
  • RePEc:boc:bocode:s417701
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