Description Usage Arguments Details References See Also
Calculation of Sen's slope. See Details.
1 |
t |
A vector of ranks (numeric, or coercible to numeric). For Time Series the observation dates. |
Y |
A vector of ranks. For Time Series the values observed at each t. |
Sen's slope is calculated as followed: \mjsdeqnb = \fracx_n/2 + x_n/2 + 12 with x being the differences of every \mjseqn\binomn2 value pairs: \mjsdeqnx = (Y_j - Y_i)/(t_j - t_i), 1 \le \, i < \, j \, \le n
Sen, Pranab Kumar (1968): Estimates of the Regression Coefficient Based on Kendall's Tau. In: Journal of the American Statistical Association 63 (324), P. 1379-1389. DOI: 10.2307/2285891
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.