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.
KeywordsGenerate Data Data Frame Sample Function Random Number Seed Colon Operator
© Springer Science+Business Media, LLC 2010