exampleclos            package:changeLOS            R Documentation

_e_x_a_m_p_l_e _f_o_r _c_l_o_s

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

     An example program estimating change in length of stay associated
     with an intermediate event.

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

     exampleclos()

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

     An object of class 'clos'. The object is a list of 

cLOS      : change in LOS

trans     : an object of class 'trans'

e.given.1 : estimates E(T|X_s = intermediate event) for all observed
          transition times s

e.given.0 : estimates E(T|X_s = initial state)  for all observed
          transition times s

weights   : weights for the weighted average 

 called : how the function was called

patients: total number of observed patients

patients.discharge: number of patients being discharged

patients.death: number of patients who die

patients.cens: number of patients being censored, i. e. for whom
          neither discharge or death was observed

   cases: number of patients who experienced the IE

cases.discharge: number of patients who experienced the IE being
          discharged

cases.death: number of patients who experienced the IE and died

cases.cens: number of patients who experienced the IE and were censored

_N_o_t_e:

     required packages: survival

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

     Matthias Wangler mw@imbi.uni-freiburg.de

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

     'clos'

