The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

Trend Identification (Variability)

Many factors can produce nonstationarity in annual maximum series (AMS) data, including changes in climate, land use/cover, and water management. This vignette demonstrates how to use the ffaframework to check for evidence of nonstationarity in the variability of a time series.

List of Tests

Mean Trend Tests

Function Purpose
eda_mk_test Tests for a monotonic trend (Mann-Kendall test).
eda_bbmk_test Tests for a monotonic trend under serial correlation (BBMK test).

Stationarity Tests

Function Purpose
eda_spearman_test Tests for serial correlation (Spearman test).
eda_kpss_test Tests for a stochastic trend (KPSS test).
eda_pp_test Tests for a deterministic trend (Phillips-Perron test).

Variability Trend Tests

Function Purpose
MW-MK Test Tests for a trend in the variability (MWMK test)
eda_white_test Tests for time-dependence in the variability (White test).

Trend Estimation (Mean & Variability)

Function Purpose
eda_sens_trend Estimates slope and intercept of a linear trend (Sen’s trend estimator).
eda_runs_test Evaluates residuals’ structure under linear model assumptions (runs test).

Case Study

This vignette will explore data from the Chilliwack River at Chilliwack Lake (08MH016) hydrological monitoring station. The remoteness of this station means that trends annual maxima are caused by changes in climate as opposed to changes in land use or cover. Data for this station is provided as CAN-08MH016.csv in the ffaframework package.

library(ffaframework)

df <- data_local("CAN-08MH016.csv")
head(df)
#>   year  max
#> 1 1922 62.9
#> 2 1923 74.5
#> 3 1924 79.0
#> 4 1925 35.1
#> 5 1926 62.3
#> 6 1927 65.7

plot_ams_data(df$max, df$year, title = "Chilliwack River at Chilliwack Lake (08MH016)")

Conclusion

The MWMK and White tests find evidence of nonstationarity in the variability of the AMS. The runs test confirms that a linear model is suitable for the nonstationarity. Flood frequency analysis of this dataset requires a time-dependent probability model.

Recommendation: Use NS-FFA.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.