[EpiData-list] How to: Simulation with EpiData Analysis

epidata-list at lists.umanitoba.ca epidata-list at lists.umanitoba.ca
Sun May 25 14:28:10 CDT 2008

Simulation for entry is not that easy. But some tests have been done 
with "recording software". The results of this could be uploaded if 
there is an interest.

Simulation for analysis is rather simple.

The simplest way is:
* generate x empty observations, e.g. 1000:
generate 1000
* then generate the variables: e,g, integer sex:
gen i sex = 1
if recnumber > 499 then sex = 0

.... continue with other variables.
* look also in the help file for: random functions.

The extended way is to use the user specified commands. For explanation 
of this see:
The documentation page or the direct download link at:

Kind regards

Jens Lauritsen
EpiData Association

More information about the EpiData-list mailing list