Creating Random Numbers in WINKS
are some instructions for creating the database from the uniform distribution
random number generator in WINKS. (for WINKS version 4.8)
(for WINKS version 4.8)
a database in WINKS using random variables
Create a database with a uniform random variable
To create a 0/1 variable with approximately equal numbers of 0 and 1, use the formula:
numbers below 1 will be turned into 0 by the INT function, and those 1 and above
will be valued as 1)
To create a 0/1 variable where about 2/3 are 0 and 1/3 are 1, use the formula:
this case, there will be 2/3 of the number from 0 to 1, with only a third 1 or
To create a 0/1/2 variable with approximately 1/3 of the numbers having each
value, use the formula:
database already created, select and entire column by clicking on the variable
name before using a formula.
can create more than one variable in a database using this method.
Modify the examples above to create other categorical variable combinations.
Click image above to go to Order Options.
© Copyright TexaSoft, 2007
This page was last edited: 09/28/2007