|  | 
|  | 
| The SIM2D Procedure | 
The following statements are available in PROC SIM2D:
The SIMULATE and MEAN statements are hierarchical; you can specify any number of SIMULATE statements, but you must specify at least one. If you specify a MEAN statement, it refers to the preceding SIMULATE statement. If you do not specify a MEAN statement, a zero-mean model is simulated.
You must specify a single COORDINATES statement to identify the  and
 and  coordinate variables in the input data set when you perform a conditional simulation. You must also specify a single GRID statement to specify the grid information.
 coordinate variables in the input data set when you perform a conditional simulation. You must also specify a single GRID statement to specify the grid information. 
The following table outlines the options available in PROC SIM2D classified by function.
| Task | Statement | Option | 
|---|---|---|
| Data Set Options | ||
| Specify input data set | ||
| Specify grid data set | ||
| Write simulated values | ||
| Specify plot display and options | ||
| Specify quadratic form data set | ||
| Specify plot display and options | ||
| Declaring the Role of Variables | ||
| Specify variables to define analysis subgroups | ||
| Specify the conditioning variable | ||
|  Specify the  | ||
|  Specify the  | ||
| Specify the constant coefficient variable in the QDATA= data set | ||
|  Specify the linear  | ||
|  Specify the linear  | ||
|  Specify the quadratic  | ||
|  Specify the quadratic  | ||
|  Specify the quadratic  | ||
| Controlling the Simulation | ||
| Specify the number of realizations | ||
| Specify the seed value for the random generator | ||
| Controlling the Mean Quadratic Surface | ||
| Specify the CONST term | ||
|  Specify the linear  | ||
|  Specify the linear  | ||
|  Specify the quadratic  | ||
|  Specify the quadratic  | ||
| Specify the quadratic cross term | ||
| Controlling the Semivariogram Model | ||
| Specify a nugget effect | ||
| Specify a functional form | ||
| Specify nested functional forms |  FORM=( | |
| Specify a range parameter | ||
| Specify nested range parameters |  RANGE=( | |
| Specify a scale parameter | ||
| Specify nested scale parameters |  SCALE=( | |
| Specify an angle for an anisotropic model | ||
| Specify nested angles |  ANGLE=( | |
| Specify a minor-major axis ratio for an anisotropic model | ||
| Specify nested minor-major axis ratios |  RATIO=( | 
|  | 
|  | 
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.