View source: R/sea.sens.slope.R
| sea.sens.slope | R Documentation |
Computes seasonal Sen's slope for linear rate of change
sea.sens.slope(x)
x |
a time series object of class "ts" |
Acccording to Hirsch et al. (1982) the seasonal Sen's slope is calculated as follows:
d_{ijk} = \frac{x_{ij} - x_{ik}}{j - k}
for each (x_{ij}, x_{ik})
pair i = 1, \ldots, m,
where (1 \leq k < j \leq 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.
numeric, Seasonal Sen's slope.
Current Version is for complete observations only.
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.
smk.test,
sea.sens.slope(nottem)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.