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 / base / T < prev    next >
Encoding:
Text File  |  1997-04-23  |  727 b   |  29 lines

  1.     
  2.     _T_h_e _S_t_u_d_e_n_t _t _D_i_s_t_r_i_b_u_t_i_o_n
  3.     
  4.          dt(x, df)
  5.          pt(q, df)
  6.          qt(p, df)
  7.          rt(n, df)
  8.     
  9.     _D_e_s_c_r_i_p_t_i_o_n:
  10.     
  11.          These functions provide information about the t distri-
  12.          bution with df degrees of freedom.  dt gives the den-
  13.          sity, pt gives the distribution function qt gives the
  14.          quantile function and rt generates random deviates.
  15.     
  16.          The t distribution with n degrees of freedom has den-
  17.          sity
  18.     
  19.              f(x) = Gamma((n+1)/2) / (sqrt(n pi) Gamma(n/2))
  20.                          (1 + x^2/n)^-((n+1)/2)
  21.     
  22.          for all real x.
  23.     
  24.     _E_x_a_m_p_l_e_s:
  25.     
  26.          1 - pt(1:5, df = 1)
  27.          qt(.975, df = c(1:10,20,50,100,1000))
  28.     
  29.