XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Implemented
    • 1.3
    • 1.4
    • sampling
    • None

    Description

      Sampling from a Levy distribution is done using an inverse transform of the cumulative distribution function of the standard normal distribution.

      Levy(Z) =          1 
                -------------------
                (inv CDF_norm(u))^2
      

      With u a uniform deviate in [0, 1). An alternative is direct generation of a uniform normal variate with mean 0 and standard deviation 1: N(0, 1):

      Levy(Z) =    1 
                --------
                N(0,1)^2
      

      This should be faster than inverse transform sampling if generation of the normal distribution sample is faster than computation of the inverse cumulative probability function.

      This sampler can be used in Commons Statistics for the Levy distribution.

      The extremes of the support should be investigated, i.e. what is the maximum value for a sample from a standard normal distribution such as the ZigguratNormalizedGaussianSampler vs the maximum value of the inverse CDF of the normal distribution when the uniform deviate is at the upper limit of 1 - 2^-53.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            aherbert Alex Herbert
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: