

Box-Cox(rmutil)                              R Documentation

_T_h_e _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', dis-
     persion equal to `s', and power transformation equal to
     `f'.  `dboxcox' gives the density, `pboxcox' gives the
     distribution function  `hboxcox' gives the hazard func-
     tion.

     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, f)
     pboxcox(q, m, s, f)
     hboxcox(y, m, s, f)

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

       y: vector of responses.

       q: vector of quantiles.

       m: vector of location parameters.

       s: vector of dispersion parameters.

       f: vector of power parameters.

_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)

