AR1NormalRV

class AR1NormalRV @JvmOverloads constructor(val mean: Double = 0.0, val variance: Double = 1.0, val lag1Corr: Double = 0.0, streamNum: Int = 0, streamProvider: RNStreamProviderIfc = KSLRandom.DefaultRNStreamProvider, name: String? = null) : ParameterizedRV(source)

Creates an autoregressive order 1 normal process

Parameters

mean

the mean of the process

variance

the variance of the process

lag1Corr

the lag-1 correlation for the process

streamNum

the random number stream number, defaults to 0, which means the next stream

streamProvider

the provider of random number streams, defaults to KSLRandom.DefaultRNStreamProvider

name

an optional name

Constructors

Link copied to clipboard
constructor(mean: Double = 0.0, variance: Double = 1.0, lag1Corr: Double = 0.0, streamNum: Int = 0, streamProvider: RNStreamProviderIfc = KSLRandom.DefaultRNStreamProvider, name: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
val lag1Corr: Double = 0.0
Link copied to clipboard
val mean: Double = 0.0
Link copied to clipboard
open override val parameters: RVParameters
Link copied to clipboard
val variance: Double = 1.0

Functions

Link copied to clipboard
open override fun instance(streamNum: Int, rnStreamProvider: RNStreamProviderIfc): AR1NormalRV
Link copied to clipboard
open override fun toString(): String