SSJ API Documentation
Stochastic Simulation in Java
Loading...
Searching...
No Matches
umontreal.ssj.randvar.JohnsonSystemG Class Referenceabstract

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

Inheritance diagram for umontreal.ssj.randvar.JohnsonSystemG:
umontreal.ssj.randvar.RandomVariateGen umontreal.ssj.randvar.JohnsonSBGen umontreal.ssj.randvar.JohnsonSLGen umontreal.ssj.randvar.JohnsonSUGen

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 umontreal.ssj.randvar.RandomVariateGen
 RandomVariateGen (RandomStream s, Distribution dist)
 Creates a new random variate generator from the distribution dist, using stream s.
double nextDouble ()
 Generates a random number from the continuous distribution contained in this object.
void nextArrayOfDouble (double[] v, int start, int n)
 Generates n random numbers from the continuous distribution contained in this object.
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.
RandomStream getStream ()
 Returns the umontreal.ssj.rng.RandomStream used by this generator.
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.
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.
 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\),.

Detailed Description

This class contains common parameters and methods for the random variate generators associated with the Johnson system of distributions.

[97], [95] . See the definitions of umontreal.ssj.probdist.JohnsonSLDist, umontreal.ssj.probdist.JohnsonSBDist, and umontreal.ssj.probdist.JohnsonSUDist in package probdist.

 <div class="SSJ-bigskip"></div>

Definition at line 43 of file JohnsonSystemG.java.

Constructor & Destructor Documentation

◆ JohnsonSystemG() [1/2]

umontreal.ssj.randvar.JohnsonSystemG.JohnsonSystemG ( RandomStream s,
double gamma,
double delta,
double xi,
double lambda )
protected

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}\).

Definition at line 56 of file JohnsonSystemG.java.

◆ JohnsonSystemG() [2/2]

umontreal.ssj.randvar.JohnsonSystemG.JohnsonSystemG ( RandomStream s,
ContinuousDistribution dist )
protected

Constructs a JohnsonSystemG object with parameters obtained from distribution dist.

Definition at line 65 of file JohnsonSystemG.java.

Member Function Documentation

◆ getDelta()

double umontreal.ssj.randvar.JohnsonSystemG.getDelta ( )

Returns the value of \(\delta\).

Definition at line 79 of file JohnsonSystemG.java.

◆ getGamma()

double umontreal.ssj.randvar.JohnsonSystemG.getGamma ( )

Returns the value of \(\gamma\).

Definition at line 72 of file JohnsonSystemG.java.

◆ getLambda()

double umontreal.ssj.randvar.JohnsonSystemG.getLambda ( )

Returns the value of \(\lambda\).

Definition at line 93 of file JohnsonSystemG.java.

◆ getXi()

double umontreal.ssj.randvar.JohnsonSystemG.getXi ( )

Returns the value of \(\xi\).

Definition at line 86 of file JohnsonSystemG.java.

◆ setParams()

void umontreal.ssj.randvar.JohnsonSystemG.setParams ( double gamma,
double delta,
double xi,
double lambda )
protected

Sets the value of the parameters \(\gamma\), \(\delta\),.

\(\xi\) and \(\lambda\) for this object.

Definition at line 102 of file JohnsonSystemG.java.


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