Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gx.runs

The Wald-Wolfowitz, ‘Runs’, Test


Description

The ‘runs’ test is used to infer whether two states, e.g., > and < some threshold are mutually independent along a traverse. In applied geochemical terms, it tests for pattern coherence. If the pattern of runs is not coherent at the scale of the sampling it will be difficult to identify any spatially consistent dispersion processes.

Usage

gx.runs(n1, n2, u)

Arguments

n1

the number of < threshold sites along a traverse.

n2

the number of > threshold sites along a traverse.

u

the number of runs of > and < threshold sites along the traverse.

Note

Given a priori information on the location of a mineral occurrence, the gx.hypergeom function provides a far more insightful test. The ‘runs’ test is better suited for evaluating patterns due to lithological or environmental changes along a traverse when some ‘threshold’ can be selected that differentiates between two patterns

Author(s)

Robert G. Garrett

References

Stanley, C.R., 2003. Statistical evaluation of anomaly recognition performance. Geochemistry: Exploration, Environment, Analaysis, 3(1):3-12.

See Also

Examples

## From Stanley (2003) Table 2

gx.runs(27, 4, 7)
gx.runs(25, 6, 7)
gx.runs(28, 3, 5)

rgr

Applied Geochemistry EDA

v1.1.15
GPL-2
Authors
Robert G. Garrett
Initial release
2018-03-05

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.