Box-Cox                package:rmutil                R Documentation

_B_o_x-_C_o_x _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 Box-Cox distribution
     with location parameter equal to 'm', dispersion equal to 's', and
     power transformation equal to 'f': density, cumulative
     distribution, quantiles, log hazard, and random generation.

     The Box-Cox distribution has density

 f(y) = 1/sqrt(2 pi s^2) exp(-((y^f/f - mu)^2/(2 s^2)))/ (1-I(f<0)-sign(f)*pnorm(0,m,sqrt(s)))

     where m is the location parameter of the distribution, s is the
     dispersion, f is the family parameter, I() is the indicator
     function, and y>0.

     f=1 gives a truncated normal distribution.

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

     dboxcox(y, m, s=1, f=1, log=FALSE)
     pboxcox(q, m, s=1, f=1)
     qboxcox(p, m, s=1, f=1)
     hboxcox(y, m, s=1, f=1)
     rboxcox(n, m, s=1, f=1)

_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 dispersion parameters.

       f: vector of power parameters.

     log: if TRUE, log probabilities are supplied.

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

     J.K. Lindsey

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

     'dnorm' for the normal or Gaussian distribution.

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

     dboxcox(2, 5, 5, 2)
     pboxcox(2, 5, 5, 2)
     qboxcox(0.1, 5, 5, 2)
     rboxcox(10, 5, 5, 2)

