pmaxstat               package:maxstat               R Documentation

_A_p_p_r_o_x_i_m_a_t_i_n_g _M_a_x_i_m_a_l_l_y _S_e_l_e_c_t_e_d _S_t_a_t_i_s_t_i_c_s

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

     Approximates the probability that a maximally selected rank
     statistic is greater or equal to 'b'.

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

     pmaxstat(b, scores, msample, quant=FALSE)
     qmaxstat(p, scores, msample)

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

       b: quantile. 

       p: propability. 

  scores: integer valued scores assigned to the observations. 

 msample: all possible splitpoints. 

   quant: logical. Returns the results of SR instead of P-values. Only
          to be used in 'qmaxstat'.

_D_e_t_a_i_l_s:

     Small sample approximation by Hothorn and Lausen (2003).

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

     An upper limit for the probability that, under the hypothesis of 
     independence, a maximally selected statistic greater equal 'b'  is
     observed. 'qmaxstat' needs optimization.

_R_e_f_e_r_e_n_c_e_s:

     Hothorn, T. and Lausen, B. (2003). On the Exact Distribution of
     Maximally Selected Rank Statistics.  _Computational Statistics &
     Data Analysis_, *43*,  121-137.

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

     pmaxstat(2.5, 1:20, 5:15)

