Description Usage Arguments Value Author(s) References
View source: R/compute_MK_stat.R
This function computes Mann Kendall statistics for a given time series
1 | compute.MK.stat(data, t.time, resolution, alpha.mk = 95, alpha.cl = 90)
|
data |
is the time series of the variable to be analysed |
t.time |
is the array of times expressed as a 6-column data.frame with year, month, day, hour, minute, second |
resolution |
the measurement resolution, i.e. delta value below which 2 measurements are considered equivalent. It is used to compute the number of ties |
alpha.mk |
confidence limit for Mk test in percentage. Default value is 95 |
alpha.cl |
confidence limit for the confidence limits of the Sen's slope in percentage. Default value is set to 90 |
a list named ‘output' containing a data.frame ('result') and 3 numerics ('S', 'vari', 'Z'). 'result' is a dataframe with 3 columns: 'slope', the estimate of the Sen’s slope (as % year^-1), 'UCL' and 'LCL' respectively the upper and the lower confidence limits of the slope (as % year^-1). 'S' is the value of the S statiscs, 'vari' is the Kendall variance, 'Z' is the resulting standard normal variable
Martine Collaud Coen (martine.collaud@meteoswiss.ch), MeteoSwiss (CH) and Alessandro Bigi (abigi@unimore.it), University of Modena and Reggio Emilia (IT)
Collaud Coen, M., Andrews, E., Bigi, A., Romanens, G., Martucci, G., and Vuilleumier, L.: Effects of the prewhitening method, the time granularity and the time segmentation on the Mann-Kendall trend detection and the associated Sen's slope, Atmos. Meas. Tech., https://doi.org/10.5194/amt-2020-178, 2020.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.