## Output Data Sets

The KRIGE2D procedure produces two
data sets: the OUTEST=*SAS-data-set*
and the OUTNBHD=*SAS-data-set*.
These data sets are described as follows.

The OUTEST= data set contains the kriging
estimates and the associated standard
errors. The OUTEST= data set contains the
following variables:
- ESTIMATE, which is the kriging estimate for the current
variable
- GXC, which is the x-coordinate of the grid point at which the
kriging estimate is made
- GYC, which is the y-coordinate of the grid point at which the
kriging estimate is made
- LABEL, which is the label for the current PREDICT/MODEL combination
producing the kriging estimate. If you do not specify a
label, default labels of the form Pred
*j*.Model*k* are used.
- NPOINTS, which is the number of points used in the estimation.
This number varies for each grid point if local kriging is
performed.
- STDERR, which is the standard error of the kriging estimate
- VARNAME, which is the variable name

When you specify the RADIUS= option or the NUMPOINTS= option
in the PREDICT statement, local kriging is
performed. Local kriging is simply ordinary
kriging at a given grid location using only those
data points in a neighborhood defined by
the RADIUS= value or the NUMPOINTS= value.
The OUTNBHD= data set contains
one observation for each data point
in each neighborhood. Hence,
this data set can be large. For example, if
the grid specification results in 1,000
grid points and each grid point has a
neighborhood of 100 points, the resulting
OUTNBHD= data set contains 100,000 points.

The OUTNBHD= data set contains the
following variables:

- GXC, which is the x-coordinate of the grid point
- GYC, which is the y-coordinate of the grid point
- LABEL, which is the label for the current PREDICT/MODEL combination.
If you do not specify a label, default labels of the
form Pred
*j*.Model*k* are used.
- NPOINTS, which is the number of points used in the estimation
- RADIUS, which is the radius used for each neighborhood
- VALUE, which is the value of the variable at the current data point
- VARNAME, which is the variable name of the current variable
- XC, which is the x-coordinate of the current data point
- YC, which is the y-coordinate of the current data point

Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.