a "vector" or "ts" object that contains the variable, which is tested
for trend (i.e. correlated with time)
z
a "vector" or "ts" object that contains the variable, which effect
on "x" is partialled out
Value
An object of class "htest"
methoda character string indicating the chosen test
data.namea character string giving the name(s) of the data
statisticthe value of the test statistic
estimatethe Mann-Kendall score S and the variance varS
alternativea character string describing the alternative hypothesis
p.valuethe p-value of the test
Warning
Current Version is for complete observations only.
The "method=='Partial'" is in testing mode.
Details
According to Libiseller and Grimvall (2002), the expected value for
the Mann-Kendall Score of variable "a" that is correlated with the covariate
"b" is:
$E = S_b * \sigma_{ab} / \sigma_{bb}$
Furthermore, the expected variance of "a" is:
$Var = \sigma_{aa} - \sigma_{ab} / \sigma_{bb} * \sigma_{ba}$
Finally, the Z-Quantile is defined as:
$Z = (S_a - E) / \sqrt(Var)$
References
Libiseller, C. and Grimvall, A., (2002).
Performance of partial Mann-Kendall tests for trend detection in the
presence of covariates. Environmetrics 13, 71-84, http://dx.doi.org/10.1002/env.507.