SSJ  3.3.1
Stochastic Simulation in Java
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
JohnsonSystemG Class Referenceabstract

This class contains common parameters and methods for the random variate generators associated with the Johnson system of distributions [101], [99] . More...

Inheritance diagram for JohnsonSystemG:
[legend]
Collaboration diagram for JohnsonSystemG:
[legend]

Public Member Functions

double getGamma ()
 Returns the value of \(\gamma\).
 
double getDelta ()
 Returns the value of \(\delta\).
 
double getXi ()
 Returns the value of \(\xi\).
 
double getLambda ()
 Returns the value of \(\lambda\).
 
- Public Member Functions inherited from RandomVariateGen
 RandomVariateGen (RandomStream s, Distribution dist)
 Creates a new random variate generator from the distribution dist, using stream s. More...
 
double nextDouble ()
 Generates a random number from the continuous distribution contained in this object. More...
 
void nextArrayOfDouble (double[] v, int start, int n)
 Generates n random numbers from the continuous distribution contained in this object. More...
 
double [] nextArrayOfDouble (int n)
 Generates n random numbers from the continuous distribution contained in this object, and returns them in a new array of size n. More...
 
RandomStream getStream ()
 Returns the umontreal.ssj.rng.RandomStream used by this generator. More...
 
void setStream (RandomStream stream)
 Sets the umontreal.ssj.rng.RandomStream used by this generator to stream.
 
Distribution getDistribution ()
 Returns the umontreal.ssj.probdist.Distribution used by this generator. More...
 
String toString ()
 Returns a String containing information about the current generator.
 

Protected Member Functions

 JohnsonSystemG (RandomStream s, double gamma, double delta, double xi, double lambda)
 Constructs a JohnsonSystemG object with shape parameters \(\gamma= \mathtt{gamma}\) and \(\delta= \mathtt{delta}\), location parameter \(\xi= \mathtt{xi}\), and scale parameter \(\lambda= \mathtt{lambda}\).
 
 JohnsonSystemG (RandomStream s, ContinuousDistribution dist)
 Constructs a JohnsonSystemG object with parameters obtained from distribution dist.
 
void setParams (double gamma, double delta, double xi, double lambda)
 Sets the value of the parameters \(\gamma\), \(\delta\), \(\xi\) and \(\lambda\) for this object.
 

Protected Attributes

double gamma
 
double delta
 
double xi
 
double lambda
 
- Protected Attributes inherited from RandomVariateGen
RandomStream stream
 
Distribution dist
 

Detailed Description

This class contains common parameters and methods for the random variate generators associated with the Johnson system of distributions [101], [99] .

See the definitions of umontreal.ssj.probdist.JohnsonSLDist, umontreal.ssj.probdist.JohnsonSBDist, and umontreal.ssj.probdist.JohnsonSUDist in package probdist.


The documentation for this class was generated from the following file: