home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / NEXTSTEP / UNIX / Educational / R-0.49-MI / R-0.49-M / help / ctest / kruskal.test < prev    next >
Encoding:
Text File  |  1997-09-13  |  1.2 KB  |  33 lines

  1.     
  2.     _K_r_u_s_k_a_l-_W_a_l_l_i_s _R_a_n_k _S_u_m _T_e_s_t
  3.     
  4.          kruskal.test(x, g)
  5.     
  6.     _A_r_g_u_m_e_n_t_s:
  7.     
  8.                x : a numeric vector of data values, or a list of
  9.                    numeric data vectors.
  10.     
  11.                g : a vector or factor object giving the group
  12.                    for the corresponding elements of x.  Ignored
  13.                    if x is a list.
  14.     
  15.     _D_e_s_c_r_i_p_t_i_o_n:
  16.     
  17.          kruskal.test performs a Kruskal-Wallis rank sum test of
  18.          the null that the location parameters of the distribu-
  19.          tion of x are the same in each group (sample).  The
  20.          alternative is that they differ in at least one.
  21.     
  22.          If x is a list, its elements are taken as the samples
  23.          to be compared, and hence have to be numeric data vec-
  24.          tors.  In this case, g is ignored, and one can simply
  25.          use kruskal.test(x) to perform the test.  If the sam-
  26.          ples are not yet contained in a list, use
  27.          kruskal.test(list(x, ...)).
  28.     
  29.          Otherwise, x must be a numeric data vector, and g must
  30.          be a vector or factor object of the same length as x
  31.          giving the group for the corresponding elements of x.
  32.     
  33.