dheft               package:polspline               R Documentation

_H_e_f_t: _h_a_z_a_r_d _e_s_t_i_m_a_t_i_o_n _w_i_t_h _f_l_e_x_i_b_l_e _t_a_i_l_s

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

     Density ('dheft'), cumulative probability ('pheft'), hazard rate
     ('hheft'), quantiles ('qheft'), and  random samples ('rheft') from
     a 'heft' object

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

     dheft(q, fit) 
     hheft(q, fit) 
     pheft(q, fit) 
     qheft(p, fit) 
     rheft(n, fit) 

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

       q: vector of quantiles. Missing values ('NA's) are allowed.  

       p: vector of probabilities. Missing values ('NA's) are allowed.  

       n: sample size. If 'length(n)' is larger than 1, then
          'length(n)' random values are returned. 

     fit: 'heft' object, typically obtained from 'heft'.  

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

     Elements of 'q' or 'p' that are missing will cause the
     corresponding elements of the result to be missing.

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

     Densities ('dheft'), hazard rates ('hheft'), probabilities
     ('pheft'), quantiles ('qheft'), or a random sample ('rheft') from
     a 'heft' object.

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

     Charles Kooperberg clk@fhcrc.org.

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

     Charles Kooperberg, Charles J. Stone and Young K. Truong (1995).
     Hazard regression.  _Journal of the American Statistical
     Association_, *90*, 78-94.

     Charles J. Stone, Mark Hansen, Charles Kooperberg, and Young K.
     Truong. The use of polynomial splines and their tensor products in
     extended linear modeling (with discussion) (1997).  _Annals of
     Statistics_, *25*, 1371-1470.

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

     'heft', 'plot.heft', 'summary.heft'.

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

     fit <- heft(testhare[,1],testhare[,2])
     dheft(0:10,fit)
     hheft(0:10,fit)
     pheft(0:10,fit)
     qheft((1:19)/20,fit)
     rheft(10,fit)

