deccensus              package:pastecs              R Documentation

_T_i_m_e _d_e_c_o_m_p_o_s_i_t_i_o_n _u_s_i_n_g _t_h_e _C_E_N_S_U_S _I_I _m_e_t_h_o_d

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

     The CENSUS II method allows to decompose a regular time series
     into a trend, a seasonal component and residuals, according to a
     multiplicative model

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

     deccensus(x, type="multiplicative", trend=FALSE)

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

       x: A single regular time serie (a 'rts' object under S+ and a
          'ts' object under R) with a "years" time scale (one unit =
          one year) and a complete number of cycles (at least 3
          complete years) 

    type: The type of model. This is for compatibility with other
          'decxxx()' functions, but only a multiplicative model is
          allowed here 

   trend: If 'trend=TRUE' a trend component is also calculated,
          otherwise, the decomposition gives only a seasonal component
          and residuals 

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

     The trend component contains both a general trend and long-term
     oscillations. The seasonal trend may vary from year to year. For a
     seasonal decomposition using an additive model, use 'decloess()'
     instead

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

     a 'tsd' object

_A_u_t_h_o_r(_s):

     Frdric Ibanez (ibanez@obs-vlfr.fr), Philippe Grosjean
     (phgrosjean@sciviews.org)

_R_e_f_e_r_e_n_c_e_s:

     Bthoux, N., M. Etienne, F. Ibanez & J.L. Rapaire, 1980.
     _Spcificits hydrologiques des zones littorales. Analyse
     chronologique par la mthode CENSUS II et estimation des changes
     ocan-atmosphre appliqus  la baie de Villefranche sur mer._
     Ann. Inst. Ocanogr. Paris, 56:81-95.

     Fromentin, J.M. & F. Ibanez, 1994. _Year to year changes in
     meteorological features on the French coast area during the last
     half-century. Examples of two biological responses._ Oceanologica
     Acta, 17:285-296.

     Institut National de Statistique de Belgique, 1965. _Dcomposition
     des sries chronologiques en leurs composantes suivant diffrentes
     mthodes. Etudes statistiques et conomtriques._ Bull. Stat. INS,
     10:1449-1524.

     Philips, J. & R. Blomme, 1973. _Analyse chronologique._ Universit
     Catholique de Louvain, Vander ed. 339 pp.

     Rosenblatt, H.M., 1968. _Spectral evaluation of BLS and CENSUS
     revised seasonal adjustment procedures._ J. Amer. Stat. Assoc.,
     68:472-501.

     Shiskin, J. & H. Eisenpress, 1957. _Seasonal adjustment by
     electronic computer methods._ J. Amer. Stat. Assoc., 52:415-449.

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

     'tsd', 'tseries', 'decaverage', 'decdiff', 'decmedian', 'decevf',
     'decreg', 'decloess'

_E_x_a_m_p_l_e_s:

     data(releve)
     # Get regulated time series with a 'years' time-scale
     rel.regy <- regul(releve$Day, releve[3:8], xmin=6, n=87, units="daystoyears", frequency=24, tol=2.2, methods="linear", datemin="21/03/1989", dateformat="d/m/Y")
     rel.ts <- tseries(rel.regy)
     # We must have complete cycles to allow using deccensus()
     start(rel.ts)
     end(rel.ts)
     rel.ts2 <- window(rel.ts, end=c(1992,5))
     rel.dec2 <- deccensus(rel.ts2[, "Melosul"], trend=TRUE)
     plot(rel.dec2, col=c(1,4,3,2))

