movttest {climatol} | R Documentation |
A t-test of mean sample differences is successively applied to a window
of N
terms that runs along a series.
movttest(x, indme, nterm=10, pval=.05, verb=TRUE)
x |
Time series to be tested |
indme |
Label to identify the station and month (or sub-series) |
nterm |
Number of terms of the running window |
pval |
Significance threshold under which, provided that
verb=TRUE , a line indicating the p-value and its position in
the series will be shown. |
verb |
If TRUE , p-values under the threshold pval will be
shown. |
movttest
is an internal function used by depudm
, not intended
to be called directly by the user.
It is applied to a running window of N
terms; therefore, the t-test is
performed on the difference of the means of the first and last N/2
terms of the window.
An object pv
is created, holding the p-values of all the t-test
applied to the studied series.