The VARIOGRAM Procedure

Angle Classification

Suppose you specify NDIRECTIONS=3 in the COMPUTE statement in PROC VARIOGRAM. This results in three angle classes defined by midpoint angles between 0 Superscript ring and 180 Superscript ring: 0 Superscript ring Baseline plus-or-minus delta theta, 60 Superscript ring Baseline plus-or-minus delta theta, and 120 Superscript ring Baseline plus-or-minus delta theta, where delta theta is the angle tolerance. If you do not specify an angle tolerance by using the ANGLETOLERANCE= option in the COMPUTE statement, the following default value is used:

delta theta equals StartFraction 180 Superscript ring Baseline Over 2 times normal upper N normal upper D normal upper I normal upper R EndFraction

For example, if NDIRECTIONS=3, the default angle tolerance is delta theta equals 30 Superscript ring. When the directed line segment upper P 1 upper P 2 in Figure 19 is superimposed on the coordinate system that shows the angle classes, its angle is approximately 45 Superscript ring, measured clockwise from north. In particular, it falls within left-bracket 60 Superscript ring Baseline minus delta theta comma 60 Superscript ring Baseline plus delta theta right-parenthesis equals left-bracket 30 Superscript ring Baseline comma 90 Superscript ring Baseline right-parenthesis, the second angle class (Figure 20).

Note: If the designated points upper P 1 and upper P 2 are labeled in the opposite order, the orientation is in the opposite direction—that is, approximately 225 Superscript ring instead of approximately 45 Superscript ring. This does not affect angle class selection; the angle classes left-bracket 60 Superscript ring Baseline minus delta theta comma 60 Superscript ring Baseline plus delta theta right-parenthesis and left-bracket 240 Superscript ring Baseline minus delta theta comma 240 Superscript ring Baseline plus delta theta right-parenthesis are the same.

Figure 20: Selected Pair upper P 1 upper P 2 Falls within the Second Angle Class

Selected Pair P1P2 Falls within the Second Angle Class


If you specify an angle tolerance less than the default, such as ATOL=15Superscript ring, some point pairs might be excluded. For example, the selected point pair upper P 1 upper P 2 in Figure 20, while closest to the 60 Superscript ring axis, might lie outside left-bracket 60 minus delta theta comma 60 plus delta theta right-parenthesis equals left-bracket 45 Superscript ring Baseline comma 75 Superscript ring Baseline right-parenthesis. In this case, the point pair upper P 1 upper P 2 would be excluded from the semivariance computation. This setting can be desirable if you want to reduce interference between neighboring angles. An angle tolerance that is too small might result in too few point pairs in some distance classes for the empirical semivariance estimation (see also the discussion in the section Choosing the Size of Classes).

On the other hand, you can specify an angle tolerance greater than the default. This can result in a point pair being counted in more than one angle classes. This has a smoothing effect on the variogram and is useful when only a small amount of data is present or the available data are sparsely located. However, in cases of anisotropy the smoothing effect might have the side effect of amplifying weaker anisotropy in some direction and weakening stronger anisotropy in another (Deutsch and Journel 1992, p. 59).

Changes in the values of the BANDWIDTH= option have a similar effect. See the section Bandwidth Restriction for an explanation of how BANDWIDTH= functions.

An alternative way to specify angle classes and angle tolerances is with the DIRECTIONS statement. The DIRECTIONS statement is useful when angle classes are not equally spaced. When you use the DIRECTIONS statement, consider specifying the angle tolerance too. The default value of the angle tolerance is 45 Superscript ring when a DIRECTIONS statement is used instead of the NDIRECTIONS= option in the COMPUTE statement. This might not be appropriate for a particular set of angle classes. See the section DIRECTIONS Statement for more details.

Last updated: December 09, 2022