Taken from the `tsutils` package. Performs the Cox-Stuart test for trend, deviation, or dispersion
stsm_coxstuart(
y,
type = c("trend", "deviation", "dispersion"),
sig_level = 0.01
)
list describing the results
input data
Type of test: "trend", "deviation", or "dispersion" If type = "trend", test for changes in trend If type = "deviation", test for changes in deviation If type = "dispersion", test for changes in dispersion (range)
Significance level to determine statistically significant seasonal frequencies