Two-Sided Power            package:rmutil            R Documentation

_T_w_o-_S_i_d_e_d _P_o_w_e_r _D_i_s_t_r_i_b_u_t_i_o_n

_D_e_s_c_r_i_p_t_i_o_n:

     These functions provide information about the two-sided power
     distribution with location parameter equal to 'm' and shape equal
     to 's': density, cumulative distribution, quantiles, and random
     generation.

     The two-sided power distribution has density

                      f(y) = s(y/m)^(s-1), y<=m


                  f(y) = s((1-y)/(1-m))^(s-1), y>=m

     where m is the location parameter of the distribution and s is the
     shape, and 0<y<1.

     For s=1, this is the uniform distribution and for s=2, it is the
     triangular distribution.

_U_s_a_g_e:

     dtwosidedpower(y, m, s=2, log=FALSE)
     ptwosidedpower(q, m, s=2)
     qtwosidedpower(p, m, s=2)
     rtwosidedpower(n, m, s=2)

_A_r_g_u_m_e_n_t_s:

       y: vector of responses.

       q: vector of quantiles.

       p: vector of probabilities

       n: number of values to generate

       m: vector of location parameters.

       s: vector of shape parameters.

     log: if TRUE, log probabilities are supplied.

_A_u_t_h_o_r(_s):

     J.K. Lindsey

_R_e_f_e_r_e_n_c_e_s:

     van Dorp, J.R. and Kotz, S. (2002) A novel extension of the
     triangular distribution and its parameter estimation. The
     Statistician 51, 63-79.

_S_e_e _A_l_s_o:

     'dbeta' for the beta distribution and 'dsimplex' for the simplex
     distribution, other distributions for proportions between zero and
     one.

_E_x_a_m_p_l_e_s:

     dtwosidedpower(0.3, 0.5, 3)
     ptwosidedpower(0.3, 0.5, 3)
     qtwosidedpower(0.1, 0.5, 3)
     rtwosidedpower(10, 0.5, 3)

