Command Reference : Command Reference
  
 
genr
Generate series.
Generate series or alphas.
Syntax
genr ser_name = expression
Examples
genr y = 3 + x
generates a numeric series that takes the values from the series X and adds 3.
genr full_name = first_name + last_name
creates an alpha series formed by concatenating the alpha series FIRST_NAME and LAST_NAME.
Cross-references
See “Working with Data” for discussion of generating series data.
See Series::series and Alpha::alpha for a discussion of the expressions allowed in genr.