Documentation of 'umontreal.iro.lecuyer.stochprocess.InverseGaussianProcessMSH' Java class
InverseGaussianProcessMSH
umontreal.iro.lecuyer.stochprocess

Class InverseGaussianProcessMSH

    • Constructor Detail

      • InverseGaussianProcessMSH

        public InverseGaussianProcessMSH(double s0,
                                         double delta,
                                         double gamma,
                                         RandomStream stream,
                                         RandomStream otherStream)
        Constructs a new InverseGaussianProcessMSH. The initial value s0 will be overridden by t[0] when the observation times are set.
    • Method Detail

      • generatePath

        public double[] generatePath()
        Generates the path. It is done by successively calling nextObservation(), therefore the two RandomStreams are sampled alternatively.
        Overrides:
        generatePath in class InverseGaussianProcess
      • generatePath

        public double[] generatePath(double[] unifNorm,
                                     double[] unifOther)
        Instead of using the internal streams to generate the path, uses two arrays of uniforms U[0, 1). The length of the arrays should be equal to the number of periods in the observation times. This method is useful for NormalInverseGaussianProcess.
        Overrides:
        generatePath in class InverseGaussianProcess
      • nextObservation

        public double nextObservation()
        Description copied from class: StochasticProcess
        Generates and returns the next observation X(tj) of the stochastic process. The processes are usually sampled sequentially, i.e. if the last observation generated was for time tj-1, the next observation returned will be for time tj. In some cases, subclasses extending this abstract class may use non-sequential sampling algorithms (such as bridge sampling). The order of generation of the tj's is then specified by the subclass. All the processes generated using principal components analysis (PCA) do not have this method.
        Overrides:
        nextObservation in class InverseGaussianProcess
      • setOtherStream

        public void setOtherStream(RandomStream otherStream)
        Sets the otherStream, which is the stream used to choose between the two roots in the MSH method.
      • getOtherStream

        public RandomStream getOtherStream()
        Returns the otherStream, which is the stream used to choose between the two quadratic roots from the MSH method.
      • setNormalGen

        public void setNormalGen(NormalGen normalGen)
        Sets the normal generator. It also sets one of the two inner streams to the stream of the normal generator.
      • getNormalGen

        public NormalGen getNormalGen()
        Returns the normal generator.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.