Previous Page | Next Page

The SIM2D Procedure

Output Data Set

The SIM2D procedure produces a single output data set: the OUTSIM=SAS-data-set. The OUTSIM= data set contains all the needed information to uniquely identify the simulated values.

The OUTSIM= data set contains the following variables:

  • LABEL, which is the label for the current SIMULATE statement

  • VARNAME, which is the name of the conditioning variable for the current SIMULATE statement

  • _ITER_, which is the iteration number within the current SIMULATE statement

  • GXC, which is the coordinate for the current grid point

  • GYC, which is the coordinate for the current grid point

  • SVALUE, which is the value of the simulated variable

If you specify the NARROW option in the PROC SIM2D statement, the LABEL and VARNAME variables are not included in the OUTSIM= data set. This option is useful in the case where the number of data points, grid points, and realizations are such that they generate a very large OUTSIM= data set. The size of the OUTSIM= data set is reduced when these variables are not included.

In the case of an unconditional simulation, the VARNAME variable is not included. In the case of mixed conditional and unconditional simulations (that is, when multiple SIMULATE statements are specified, and one or more contain a VAR= specification and one or more do not contain a VAR= specification), the VARNAME variable is included but is given a missing value for those observations corresponding to an unconditional simulation.

Previous Page | Next Page | Top of Page