survreg.old             package:survival             R Documentation

_O_l_d (_s_u_r_v_i_v_a_l_4) _R_e_g_r_e_s_s_i_o_n _f_o_r _a _p_a_r_a_m_e_t_r_i_c _s_u_r_v_i_v_a_l _m_o_d_e_l

_D_e_s_c_r_i_p_t_i_o_n:

     This routine is a backwards-compatible interface to the improved
     survreg function, which is better.

_U_s_a_g_e:

     survreg.old(formula, data=sys.frame(sys.parent()), ..., link=c("log", "identity"),dist=c("extreme", "logistic", "gaussian", "exponential"),fixed)

_A_r_g_u_m_e_n_t_s:

 formula: a formula expression as for other regression models. See the
          documentation for 'lm' and 'formula' for details. 

    data: optional data frame in which to interpret the variables
          occuring in the formula. 

     ...: other arguments to 'survreg'

    link: transformation to be used on the y variable. 

    dist: assumed distribution for the transformed y variable. 

   fixed: a list of fixed parameters, most often just the scale. 

_V_a_l_u_e:

     an object of class 'survreg' is returned, which inherits from
     class 'glm'.

_E_x_a_m_p_l_e_s:

     data(ovarian)
     survreg.old(Surv(futime, fustat) ~ ecog.ps + rx, ovarian, dist='extreme',
                     link='log', fixed=list(scale=1))   #Fit an exponential

