English, Article edition: SDECODE: Stata module to decode a numeric variable into a string variable Roger Newson

User activity

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

Edition details

Title
  • SDECODE: Stata module to decode a numeric variable into a string variable
Author
  • Roger Newson
Physical Description
  • code
Notes
  • sdecode (super decode) creates an output string variable with values from the input numeric variable varname, using labels if present and formats otherwise. The output string variable may either replace the input numeric variable or be generated as a new variable named newvar. Unlike decode, sdecode creates an output string variable containing the values of the input variable as output by the list command and other Stata output, instead of decoding all unlabelled input values to missing. sdecode is especially useful if a numeric variable has value labels for some values but not for others.
  • data manipulation
  • RePEc:boc:bocode:s417702
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