Generating Data

Part of the Statistics and Computing book series (SCO)


Stata can generate data in a number of ways. The simplest is by use of the generate command. It can generate data in loops and through the use of matrix operations as well.


Generate Data Data Frame Sample Function Random Number Seed Colon Operator 

Copyright information

© Springer Science+Business Media, LLC 2010

Authors and Affiliations

  1. 1.Statistical Consulting Center, Stokeley Management CenterUniversity of Tennessee Office of Information TechnologyKnoxvilleUSA
  2. 2.FlorenceUSA

Personalised recommendations