spear: Spearman's Rank Correlation Test

Description Usage Arguments Details Value References Examples

View source: R/spmr.R

Description

Spearman's Rank Correlation test by Lehmann (1975) and Sneyers (1990) is useful in detecting trends.

Usage

1

Arguments

x

- Time series data vector

Details

Spearman's Rank Correlation test by Lehmann (1975) and Sneyers (1990) is implemeted in this function.

Value

Correlation coefficient - Spearman's Correlation coefficient value

Z-Tranformed Test Statistic value - Z-transform value to test significance ρ(√{n-1})

References

Lehmann, E. L. (1975). Nonparametrics: statistical methods based on ranks. Holden-Day, Inc., California, 457 pp.

Sneyers, R. (1990). On the statistical analysis of series of observations. World Meteorological Organization, Technical Note no. 143, WMO no. 415, 192 pp.

Examples

1
2
x<-c(Nile)
spear(x)

modifiedmk documentation built on June 10, 2021, 9:09 a.m.