rwrpstab              package:CircStats              R Documentation

_R_a_n_d_o_m _G_e_n_e_r_a_t_i_o_n _f_r_o_m _t_h_e _W_r_a_p_p_e_d _S_t_a_b_l_e _D_i_s_t_r_i_b_u_t_i_o_n

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

     Generates pseudo-random numbers from a wrapped stable
     distribution.

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

     rwrpstab(n, index, skewness, scale=1)

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

       n: number of random variables to generate.

   index: number from the interval (0, 2]. An index of 2 corresponds to
          the normal, 1 to the Cauchy.  Smaller values mean longer
          tails.

skewness: number giving the modified skewness. Negative values
          correspond to skewness to the left (the median is smaller
          than the mean, if it exists), and positive values correspond
          to skewness to the right (the median is larger than the
          mean). The absolute value of skewness should not exceed 1.

   scale: the scale of the distribution

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

     n random variables are generated from a stable distribution with
     with parameters index, skewness and scale. The function returns
     these values modulo 2*pi.

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

     Returns a vector of n independent random variables generated from
     a wrapped stable distribution.

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

     Jammalamadaka, S. Rao and SenGupta, A. (2001). Topics in Circular
     Statistics, Section 2.2.8, World Scientific Press, Singapore.

