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-I / help / ctest / wilcox.test < prev   
Encoding:
Text File  |  1997-09-13  |  1.6 KB  |  46 lines

  1.     
  2.     _W_i_l_c_o_x_o_n _R_a_n_k _S_u_m _a_n_d _S_i_g_n_e_d _R_a_n_k _T_e_s_t_s
  3.     
  4.          wilcox.test(x, y = NULL, alternative = "two.sided", mu = 0,
  5.                      paired = FALSE, exact = FALSE, correct = TRUE)
  6.     
  7.     _A_r_g_u_m_e_n_t_s:
  8.     
  9.                x : numeric vector of data values.
  10.     
  11.                y : an optional numeric vector of data values.
  12.     
  13.      alternative : indicates the alternative hypothesis and must
  14.                    be one of "two.sided", "greater" or "less".
  15.                    You can specify just the initial letter.
  16.     
  17.               mu : a number specifying an optional location
  18.                    parameter.
  19.     
  20.           paired : a logical indicating whether you want a
  21.                    paired test.
  22.     
  23.            exact : a logical indicating whether an exact p-value
  24.                    should be computed.
  25.     
  26.          correct : a logical indicating whether to apply con-
  27.                    tinuity correction in the normal approxima-
  28.                    tion for the p-value.
  29.     
  30.     _D_e_s_c_r_i_p_t_i_o_n:
  31.     
  32.          wilcox.test performs one and two sample Wilcoxon tests
  33.          on vectors of data.
  34.     
  35.          If only x is given, or if both x and y are given and
  36.          paired is TRUE, a Wilcoxon signed rank test of the null
  37.          that the median of x (in the one sample case) or of x-y
  38.          (in the paired two sample case) equals mu is performed.
  39.     
  40.          Otherwise, if both x and y are given and paired is
  41.          FALSE, a Wilcoxon rank sum test (equivalent to the
  42.          Mann-Whitney test) is carried out.  In this case, the
  43.          null hypothesis is that the location of the distribu-
  44.          tions of x and y differ by mu.
  45.     
  46.