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

trendHomog

Trend homogeneity test


Description

Tests for homogeneity of seasonal trends using method proposed by van Belle and Hughes (1984). Seasons with insufficient data as defined in mannKen are ignored.

Usage

trendHomog(x)

Arguments

x

A vector time series with frequency > 1

Value

chisq.trend

"Trend" chi-square.

chisq.homog

"Homogeneous" chi-square.

p.value

For null hypothesis that trends are homogeneous.

n

Number of seasons used.

Author(s)

Alan Jassby, James Cloern

References

van Belle, G. and Hughes, J.P. (1984) Nonparametric tests for trend in water quality. Water Resources Research 20, 127-136.

See Also

Examples

## Apply to a monthly vector time series to test homogeneity
## of seasonal trends.
x <- sfbayChla[, 's27']
trendHomog(x)

wql

Exploring Water Quality Monitoring Data

v0.4.9
GPL-2
Authors
Alan Jassby [aut], James Cloern [ctb], Joseph Stachelek [ctb, cre]
Initial release

We don't support your browser anymore

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