Description Usage Arguments References See Also Examples
Return the statistics and the p-value of a null trend. By defaut a t-test verify that the slope is null otherwise a F-test is used to verify that the model is better than random. A variable dispersion parmeter is used to account for potential autocorrelation.
1 2 | trendLogisPPY(obj, span = NULL, method = "T", trend = "poly",
degree = 2)
|
obj |
Output from fitPot. |
span |
List |
method |
Type of test to use. Eiter |
trend |
Type of trend. Must be with method |
degree |
Degree of the polynomial or dimension of spline basis . |
Frei C, Schär C. (2001), Detection Probability of Trends in Rare Events: Theory and Application to Heavy Precipitation in the Alpine Region. J Climate. Apr 1;14(7):1568–84.
mannKendall, glm.
1 2 3 4 5 6 7 | fit <- fitPot(flow~date, canadaFlood$daily, u = 1000,
declust = 'flood', r = 14)
mannKendallPeaks(fit, lag.k = 0)
trendLogisPPY(fit, span = canadaFlood$daily$date) ## linear trend
trendLogisPPY(fit, method = 'F', trend = 'spline')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.