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 / binom.test < prev    next >
Encoding:
Text File  |  1997-09-13  |  1.1 KB  |  45 lines

  1.     
  2.     _E_x_a_c_t _B_i_n_o_m_i_a_l _T_e_s_t
  3.     
  4.          binom.test(x, n, p = 0.5, alternative = "two.sided")
  5.     
  6.     _A_r_g_u_m_e_n_t_s:
  7.     
  8.                x : number of successes.
  9.     
  10.                n : number of trials.
  11.     
  12.                p : probability of success.
  13.     
  14.      alternative : indicates the alternative hypothesis and must
  15.                    be one of "two.sided", "greater" or "less".
  16.                    You can specify just the initial letter.
  17.     
  18.     _D_e_s_c_r_i_p_t_i_o_n:
  19.     
  20.          binom.test performs an exact test of the null that the
  21.          probability of success in a Bernoulli experiment of
  22.          length n is p, based on the number x of successes
  23.          observed.
  24.     
  25.     _V_a_l_u_e_s:
  26.     
  27.          A list with class "htest" containing the following com-
  28.          ponents:
  29.     
  30.     statistic : the number of successes, x.
  31.     
  32.     parameter : the number of trials, n.
  33.     
  34.     p.value : the p-value of the test.
  35.     
  36.     null.value : the probability of success under the null, p.
  37.     
  38.     alternative : a character string describing the alternative
  39.               hypothesis.
  40.     
  41.      method : the string "Exact binomial test".
  42.     
  43.     data.name : a character string giving the names of the data.
  44.     
  45.