Documentation of 'umontreal.iro.lecuyer.randvar.FrechetGen' Java class
FrechetGen
umontreal.iro.lecuyer.randvar

Class FrechetGen



  • public class FrechetGen
    extends RandomVariateGen
    This class implements methods for generating random variates from the Fréchet distribution, with location parameter δ, scale parameter β > 0, and shape parameter α > 0, where we use the notation z = (x - δ)/β. It has density

    f (x) = αe-z-α/(βzα+1),        for x > δ

    The density is 0 for x <= δ.
    • Constructor Detail

      • FrechetGen

        public FrechetGen(RandomStream s,
                          double alpha)
        Creates a Fréchet random number generator with α = alpha, β = 1 and δ = 0 using stream s.
      • FrechetGen

        public FrechetGen(RandomStream s,
                          double alpha,
                          double beta,
                          double delta)
        Creates a Fréchet random number generator with parameters α = alpha, β = beta and δ = delta using stream s.
      • FrechetGen

        public FrechetGen(RandomStream s,
                          FrechetDist dist)
        Creates a new generator for the Fréchet distribution dist and stream s.
    • Method Detail

      • nextDouble

        public static double nextDouble(RandomStream s,
                                        double alpha,
                                        double beta,
                                        double delta)
        Generates a new variate from the Fréchet distribution with parameters α = alpha, β = beta and δ = delta using stream s.
      • getAlpha

        public double getAlpha()
        Returns the parameter α.
      • getBeta

        public double getBeta()
        Returns the parameter β.
      • getDelta

        public double getDelta()
        Returns the parameter δ.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.