dskewlap           package:HyperbolicDist           R Documentation

_S_k_e_w-_L_a_p_l_a_c_e _D_e_n_s_i_t_y

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

     Calculates the density of the skew-Laplace distribution.

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

     dskewlap(x, theta)

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

       x: Vector of quantiles

   theta: Vector of parameters of the skew-Laplace distribution: alpha,
          beta and mu

_D_e_t_a_i_l_s:

     The central skew-Laplace has mode zero, and is a mixture of a
     (negative) exponential distribution with mean beta, and the
     negative of an  exponential distribution with mean alpha. The
     weights of the positive and negative components are proportional
     to their means.

     The general skew-Laplace distribution is a shifted central
     skew-Laplace distribution, where the mode is given by mu.

     The density is given by:

               f(x)=(1/(alpha+beta)) e^((x - mu)/alpha)

     for x <= mu, and

               f(x)=(1/(alpha+beta)) e^(-(x - mu)/beta)

     for x >= mu

_V_a_l_u_e:

     'dskewlap' gives the density of the skew-Laplace distribution.

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

     David Scott d.scott@auckland.ac.nz,  Ai-Wei Lee, Richard Trendall

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

     Fieller, N. J., Flenley, E. C. and Olbricht, W. (1992) Statistics
     of particle size data. _Appl. Statist._, *41*, 127-146.

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

     'fit.hyperb'

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

     theta <- c(1,2,1)
     curve(dskewlap(x,theta),from=-3,to=6,n=1000)

