pehaz                 package:muhaz                 R Documentation

_E_s_t_i_m_a_t_e_s _p_i_e_c_e_w_i_s_e _e_x_p_o_n_e_n_t_i_a_l _h_a_z_a_r_d _f_u_n_c_t_i_o_n _f_r_o_m
_r_i_g_h_t-_c_e_n_s_o_r_e_d _d_a_t_a.

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

     Divides the time domain into bins of equal width, and then
     estimates the hazard in each bin as the number of events in that
     bin divided by the total follow-up time in that bin.

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

     pehaz(times, delta=NA, width=NA, min.time=0, max.time=NA)

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

   times: Vector of survival times.  Does not need to be sorted. 

   delta: Vector indicating censoring 0 - censored (alive) 1 -
          uncensored (dead) If status is missing, all observations are
          assumed uncensored. 

   width: Bin width.  Default value is that recommended by Mueller,
          width = (max.time-min.time) / (8*(nu)^0.2) where nu is the
          number of uncensored observations. 

min.time: Left bound of the time domain used in the analysis.  If
          missing, min.time is considered 0. 

max.time: Right bound of the time domain used in the analysis.  If
          missing, max.time is considered max(times). 

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

     Returns  an  object of class 'pehaz', containing input and output
     values.  Methods working on such an object are: plot, lines,
     print.  For a detailed description of its components, see
     'object.pehaz'.

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

     'pehaz.object'

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

     data(ovarian)
     attach(ovarian)
     fit <- pehaz(futime, fustat)
     plot(fit)

