ftemp                 package:lmtest                 R Documentation

_F_e_m_a_l _T_e_m_p_e_r_a_t_u_r_e _D_a_t_a

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

     Daily morning temperature of adult female (in degrees Celsius).

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

     data(ftemp)

_F_o_r_m_a_t:

     Univariate daily time series of 60 observations starting from
     1990-07-11.

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

     The data gives the daily morning temperature of an adult woman
     measured in degrees Celsius at about 6.30am each morning.

     At the start of the period the woman was sick, hence the high
     temperature. Then the usual monthly cycle can be seen. On the
     second cycle, the temperature doesn't complete the downward part
     of the pattern due to a conception.

_S_o_u_r_c_e:

     The data set is taken from the Time Series Data Library at

     <URL: http://www-personal.buseco.monash.edu.au/~hyndman/TSDL/>

     maintained by Rob Hyndman and Muhammad Akram.

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

     data(ftemp)
     plot(ftemp)
     y <- window(ftemp, start = 8, end = 60)
     if(require(strucchange)) {
       bp <- breakpoints(y ~ 1)
       plot(bp)
       fm.seg <- lm(y ~ 0 + breakfactor(bp))
       plot(y)
       lines(8:60, fitted(fm.seg), col = 4)
       lines(confint(bp))
     }

