User’s Guide : Basic Data Analysis : Series : Generate by Equation
  
Generate by Equation
This is a general procedure that allows you to create new series by using expressions to transform the values in the existing series. The rules governing the generation of series are explained in detail in “Series Expressions”.
It is equivalent to using the genr command.