movttest              package:climatol              R Documentation

_t-_t_e_s_t _a_p_p_l_i_e_d _t_o _a _r_u_n_n_i_n_g _w_i_n_d_o_w

_D_e_s_c_r_i_p_t_i_o_n:

     A t-test of mean sample differences is successively applied to a
     window of 'N' terms that runs along a series.

_U_s_a_g_e:

       movttest(x, indme, nterm=10, pval=.05, verb=TRUE)

_A_r_g_u_m_e_n_t_s:

       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.

_D_e_t_a_i_l_s:

     '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.

_V_a_l_u_e:

     An object 'pv' is created, holding the p-values of all the t-test
     applied to the studied series.

_S_e_e _A_l_s_o:

     'depudm', 'grafanom'

