Syntax: KRIGE2D Procedure

The following statements are available in PROC KRIGE2D:

PROC KRIGE2D options ;
BY variables ;
COORDINATES | COORD coordinate-variables ;
GRID grid-options ;
ID variable ;
PREDICT | PRED | P predict-options ;
MODEL model-options ;
RESTORE restore-options ;

The PREDICT and MODEL statements are hierarchical; the PREDICT statement is followed by a MODEL statement. If more than one MODEL statement is given, only the last one is used for the analysis. The MODEL statement following a PREDICT statement uses the variable and neighborhood specifications in that PREDICT statement.

You must specify at least one PREDICT statement and one MODEL statement. You must supply a single COORDINATES statement to identify the and coordinate variables in the input data set. You must also specify a single GRID statement to include the grid information.

Table 48.1 outlines the options available in PROC KRIGE2D classified by function.

Table 48.1 Options Available in the KRIGE2D Procedure

Task

Statement

Option

Data Set Options

   

Specify input data set

PROC KRIGE2D

DATA=

Specify grid data set

GRID

GDATA=

Specify labels for individual grid points or in 1-D

GRID

LABEL

Specify model data set

MODEL

MDATA=

Write kriging predictions and standard errors

PROC KRIGE2D

OUTEST=

Write neighborhood information for each grid point

PROC KRIGE2D

OUTNBHD=

Specify plot display and options

PROC KRIGE2D

PLOTS

Declaring the Role of Variables

   

Specify variables to define analysis subgroups

BY

 

Specify variable with observation labels

ID

 

Specify the variables to be predicted (kriged)

PREDICT

VAR=

Specify the and coordinate variables in the DATA= data set

COORDINATES

XC= YC=

Specify the and coordinate variables in the GDATA= data set

GRID

XC= YC=

Controlling the Prediction

   

Specify the number of grid points in one-dimensional cases

GRID

NPTS=

Controlling Kriging Neighborhoods

   

Specify the radius of a neighborhood for all grid points

PREDICT

RADIUS=

Specify the number of neighbors for all grid points

PREDICT

NUMPOINTS=

Specify the maximum of neighbors for all grid points

PREDICT

MAXPOINTS=

Specify the minimum of neighbors for all grid points

PREDICT

MINPOINTS=

Specify the action when maximum not met

PREDICT

NODECREMENT

Specify the action when minimum not met

PREDICT

NOINCREMENT

Controlling the Semivariogram Model

   

Specify an angle for an anisotropic model

MODEL

ANGLE=

Specify a type with a functional form

MODEL

FORM=

Specify an item store with correlation information

RESTORE

IN=

Specify a nugget effect

MODEL

NUGGET=

Allow power exponent values outside [0,2)

MODEL

POWNOBOUND

Specify a range parameter

MODEL

RANGE=

Specify a minor-major axis ratio for an anisotropic model

MODEL

RATIO=

Specify a scale parameter

MODEL

SCALE=

Specify model and parameters from an item store

MODEL

STORESELECT