SSJ
V. labo.

umontreal.iro.lecuyer.stochprocess
Class GammaProcessPCABridge

java.lang.Object
  extended by umontreal.iro.lecuyer.stochprocess.StochasticProcess
      extended by umontreal.iro.lecuyer.stochprocess.GammaProcess
          extended by umontreal.iro.lecuyer.stochprocess.GammaProcessPCA
              extended by umontreal.iro.lecuyer.stochprocess.GammaProcessPCABridge
Direct Known Subclasses:
GammaProcessPCASymmetricalBridge

public class GammaProcessPCABridge
extends GammaProcessPCA

Same as GammaProcessPCA, but the generated uniforms correspond to a bridge transformation of the BrownianMotionPCA instead of a sequential transformation.


Constructor Summary
GammaProcessPCABridge(double s0, double mu, double nu, RandomStream stream)
          Constructs a new GammaProcessPCABridge with parameters μ = mu, ν = nu and initial value S(t0) = s0.
 
Method Summary
 double[] generatePath()
          .
 double[] generatePath(double[] uniform01)
          .
 BrownianMotionPCA getBMPCA()
          Returns the inner BrownianMotionPCA.
 void setObservationTimes(double[] t, int d)
          .
 void setParams(double s0, double mu, double nu)
          .
 
Methods inherited from class umontreal.iro.lecuyer.stochprocess.GammaProcessPCA
nextObservation, nextObservation, setStream
 
Methods inherited from class umontreal.iro.lecuyer.stochprocess.GammaProcess
getMu, getNu, getStream
 
Methods inherited from class umontreal.iro.lecuyer.stochprocess.StochasticProcess
generatePath, getArrayMappingCounterToIndex, getCurrentObservation, getCurrentObservationIndex, getNbObservationTimes, getObservation, getObservationTimes, getPath, getSubpath, getX0, hasNextObservation, resetStartProcess, setObservationTimes, setX0
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GammaProcessPCABridge

public GammaProcessPCABridge(double s0,
                             double mu,
                             double nu,
                             RandomStream stream)
Constructs a new GammaProcessPCABridge with parameters μ = mu, ν = nu and initial value S(t0) = s0. The same stream is used to generate the gamma and beta random numbers. All these numbers are generated by inversion in the following order: the first uniform random number generated is used for the gamma and the other d - 1 for the beta's.

Method Detail

generatePath

public double[] generatePath(double[] uniform01)
Description copied from class: GammaProcess
. \begin{tabb}Generates, returns and saves the path $
 \{X(t_{0}), X(t_{1}), \ldots...
 ...by inversion. The vector \texttt{uniform01} must be of
 dimension $d$.
 \end{tabb}

Overrides:
generatePath in class GammaProcessPCA

generatePath

public double[] generatePath()
Description copied from class: GammaProcess
. \begin{tabb}
 Generates, returns and saves the path
 $\{X(t_{0}), X(t_{1}), \ldots...
 ...externalclass{umontreal.iro.lecuyer.randvar}{GammaGen} \texttt{Ggen}.
 \end{tabb}

Overrides:
generatePath in class GammaProcessPCA

setParams

public void setParams(double s0,
                      double mu,
                      double nu)
Description copied from class: GammaProcessPCA
. \begin{tabb}Sets the parameters \texttt{s0}, $\mu$\ and $\nu$\ to new values, an...
 ...ts
 the variance parameters of the \class{BrownianMotionPCA} to $\nu$.
 \end{tabb}

Overrides:
setParams in class GammaProcessPCA

setObservationTimes

public void setObservationTimes(double[] t,
                                int d)
Description copied from class: GammaProcessPCA
. \begin{tabb}Sets the observation times of the \class{GammaProcessPCA} and the
 \class{BrownianMotionPCA}.
 \end{tabb}

Overrides:
setObservationTimes in class GammaProcessPCA

getBMPCA

public BrownianMotionPCA getBMPCA()
Returns the inner BrownianMotionPCA.

Overrides:
getBMPCA in class GammaProcessPCA

SSJ
V. labo.

To submit a bug or ask questions, send an e-mail to Pierre L'Ecuyer.