adequadExp               package:rhosp               R Documentation

_t_e_s_t _t_h_e _a_d_e_q_u_a_t_i_o_n _o_f _a _r_a_n_d_o_m _v_a_r_i_a_b_l_e _t_o _t_h_e _e_x_p_o_n_e_n_t_i_a_l _d_i_s_t_r_i_b_u_t_i_o_n

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

     In order to test the adequation of a random variable, this
     function plot the probabilit plot with reference distribution
     exponential of the variable and calculates the Kolmogorov Smirnov
     test.

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

     adequadExp(T, toplot = FALSE)

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

       T: the random variable on which we want to test the adequation 

  toplot: a logical to plot the probability graph  

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

     a list of the following components 

LinearRegression : the result of the linear regression of the ordinate
          on the abcisse of the probability plot

KolmogorvSmirnovTest : the result of the Kolmogorvo Smirnoc test

     list(LinearRegression=reg,KolmogorvSmirnovTest=kstest)

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

     CJ

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

     #T<-c(12.9622796,  1.4146460,  1.3146761, 14.9147353,  7.5131105,  8.5130874, 6.5943351, 10.6954653, 14.1000977, 12.4673316,  2.7185478,  9.6297777, 10.0930441,  0.6270543, 26.7937074,  7.6082447)
     #adequadExp(T,TRUE)

