home *** CD-ROM | disk | FTP | other *** search
-
- _T_h_e _U_n_i_f_o_r_m _D_i_s_t_r_i_b_u_t_i_o_n
-
- dunif(x, min=0, max=1)
- punif(q, min=0, max=1)
- qunif(p, min=0, max=1)
- runif(n, min=0, max=1)
-
- _D_e_s_c_r_i_p_t_i_o_n:
-
- These functions provide information about the uniform
- distribution on the interval from min to max. dunif
- gives the density, punif gives the distribution func-
- tion qunif gives the quantile function and runif gen-
- erates random deviates.
-
- If min or max are not specified they assume the default
- values of 0 and 1 respectively.
-
- The uniform distribution has density
-
- f(x) = 1/(max-min)
-
- for min <= x <= max.
-
- _S_e_e _A_l_s_o:
-
- _E_x_a_m_p_l_e_s:
-
- var(runif(10000))#- ~ = 1/12 = .8333
-
-