AR1Correlated RNStream
Uses the autoregressive to anything algorithm to generate correlated uniform variates. The user supplies the correlation of the underlying AR(1) process. The resulting correlation in the u's may not necessarily meet this correlation, due to the correlation matching problem.
Properties
If true, the stream will automatically participate in having its stream advanced to the next sub-stream via stream managers
Tells the stream to start producing antithetic variates
Returns the antithetic value of the previous value
If true, the stream will automatically participate in having its stream reset to its start stream via stream managers
Functions
Positions the RNG at the beginning of its next substream
Returns a copy of the stream that has exactly the same state
Randomly selects from the array using the supplied cdf, NO checking of arrays
Randomly permutes the supplied array using the stream. The array is changed.
Randomly permutes the supplied array
Randomly permutes the supplied array, the array is changed.
Randomly permutes the supplied List using the stream. The list is changed.
A convenience function for allowing the range to be specified via a range
Returns a (pseudo)random number from the discrete uniform distribution over the integers {i, i + 1, . . . , j }, using this stream. Calls randU01 once.
Randomly select an element from the array
Randomly selects from the array using the supplied cdf
The resetStartStream method will position the RNG at the beginning of its stream. This is the same location in the stream as assigned when the RNG was created and initialized.
Resets the position of the RNG at the start of the current substream
Pearson Type 6
Returns a randomly generated sign -1, 0, +1 all equally likely.
The array x is changed, such that the first sampleSize elements contain the generated sample. That is, x0, x1, ... , xsampleSize-1 is the randomly sampled values without replacement
The array x is changed, such that the first sampleSize elements contain the generated sample. That is, x0, x1, ... , xsampleSize-1 is the random sample without replacement
The array x is changed, such that the first sampleSize elements contain the sample. That is, x0, x1, ... , xsampleSize-1 is the random sample without replacement
The List x is changed, such that the first sampleSize elements contain the sampled values. That is, x.get(0), x.get(1), ... , x.get(sampleSize-1) is the random sample without replacement