estimNonParam             package:rhosp             R Documentation

_c_o_m_p_u_t_e _t_h_e _p_a_r_a_m_e_t_r_i_c _e_s_t_i_m_a_t_i_o_n

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

     estimParam compute the parametric estimation of the first model on
     the input file containing the stay duration Xi and the side effect
     reporting Zi. this estimator of R (and not mu) is the smallest
     root of the equation (*) : P(Zi=0)E[exp(-RXi)/Zi=0]=1

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

     estimNonParam(fileName, toplot = TRUE, header = TRUE, ks = FALSE, DV = FALSE)

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

fileName: the file in which the simulated data will be stored 

  toplot: a logical variable to plot the result of this estimation 

  header: a logical for : has the input file an header 

      ks: a logical for : do you want the Kolmogorv Smirnov test 

      DV: a logical for : do you want to calculate the De Vielder
          estimation 

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

     a list of the following components 

     CR : the CR risk constant calculated with the value of R

      R : the risk constant estimated by this estimation

       T: the vector of observations of the random variable T

lambdaHat: the best estimation of lambda : the ESBVM of lambda

   muHat: not available with this estimation

lambdaEmp: the estimation of the lambda of the De Vielder method (only
          available if DV=TRUE and if there is no problem with De
          Vielder method)

   muEmp: the estimation of the mu of the De Vielder method (only
          available if DV=TRUE)

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

     CJ

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

     #res<-estimDV("data.rda",TRUE,TRUE)

