GSLIB Help Page: DRAW
-
Description:
-
The draw program, documented below, reads as input a
Kvariate probability density function, computes the corresponding
Kvariate cdf and draws a user specified number L samples
from that distribution. The input probability density function could be
the equal weighted data distribution, the declustered distribution,
a smoothed version of the data distribution (e.g., the output of
histsmth or scatsmth) or any user-specified
distribution.
-
Parameters:
-
datafl: a data file in simplified Geo-EAS format containing the
Kvariate distribution.
-
nvar: the number of variables (K making up the
distribution being drawn from.
-
icolvr(1,..,nvar): the column numbers for the nvar
variables of interest
-
icolwt: the column number for the probability values (if
icolwt0 then the samples will be equal weighted).
-
tmin and tmax: all values strictly less than tmin
and strictly greater than tmax are ignored.
-
seed and num: the random number seed (a large odd integer)
and the number L=num of simulated values to draw.
-
outfl: the output file containing the simulated values