computeTestChiSquaredUserDefined package:rotRPackage R Documentation

_C_o_m_p_u_t_e _t_h_e _c_h_i _s_q_u_a_r_e_d _t_e_s_t _f_o_r _U_s_e_r_D_e_f_i_n_e_d _D_i_s_t_r_i_b_u_t_i_o_n.

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

     This ROT function, called from a Test C++ object, is given a
     sample, the UserDefined distribution parameter, and optionnaly a
     test level.  It then returns the result of a X test against the
     null hypothesis  that the sample has un underlying UserDefined
     distribution and returns a list containing the result, statistic
     and test p-value.

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

     computeTestChiSquaredUserDefined(numericalSample,  x_i, p_i, testLevel = 0.95, estimatedParameters)

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

numericalSample: the sample to be tested (numeric vector)

     x_i: The UserDefined distribution $x_i$.(list containing a vector)

     p_i: The UserDefined distribution $p_i$.(list containing a vector)

testLevel: the test level. (scalar in [0:1])

estimatedParameters: the test level. (scalar in [0:1])

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

     A list is returned, containing : 

testResult: The result. 1 means H0 is not rejected. (scalar)

threshold: The threshold applied to the p-value when deciding the
          outcome of the test.

  pValue: The test p-value. (scalar)

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

     Pierre-Matthieu Pair, Softia for EDF.

