Example: air traffic controller
Search results with tag "String variables"
encode — Encode string into numeric and vice versa
www.stata.com6encode— Encode string into numeric and vice versa decode decode is used to convert numeric variables with associated value labels into true string variables. Example 4 We have a numeric variable named female that records the values 0 and 1. female is associated with a value label named sexlbl that says that 0 means male and 1 means female:
Working with dates and times - Stata
www.stata.com1. You begin with the datetime variables in your data however they are recorded, such as 21nov2006 or 11/21/2006 or November 21, 2006, or 13:42:02.213 or 1:42 p.m. The original values are usually best stored in string variables. 2. Using functions we will describe below, you convert the original strings into integers that Stata