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

sea.sens.slope

Seasonal Sen's Slope


Description

Computes seasonal Sen's slope for linear rate of change

Usage

sea.sens.slope(x)

Arguments

x

a time series object of class "ts"

Details

Acccording to Hirsch et al. (1982) the seasonal Sen's slope is calculated as follows:

d[ijk] = (x[ij] - x[ik]) / (j - k)

for each (x[ij], x[ik]) pair i = 1, …, m, where (1 ≤q k < j ≤q n_i and n[i] is the number of known values in the i-th season. The seasonal slope estimator is the median of the d[ijk] values.

Value

numeric, Seasonal Sen's slope.

Note

Current Version is for complete observations only.

References

Hipel, K.W. and McLeod, A.I. (1994), Time Series Modelling of Water Resources and Environmental Systems. New York: Elsevier Science.

Hirsch, R., J. Slack, R. Smith (1982), T echniques of Trend Analysis for Monthly Water Quality Data. Water Resources Research 18, 107-121.

Sen, P.K. (1968), Estimates of the regression coefficient based on Kendall's tau, Journal of the American Statistical Association 63, 1379–1389.

See Also

Examples

sea.sens.slope(nottem)

trend

Non-Parametric Trend Tests and Change-Point Detection

v1.1.4
GPL-3
Authors
Thorsten Pohlert [aut, cre] (<https://orcid.org/0000-0003-3855-3025>)
Initial release
2020-09-17

We don't support your browser anymore

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