Class OrnsteinUhlenbeckProcess
- java.lang.Object
-
- dev.nm.stat.stochasticprocess.univariate.sde.SDE
-
- dev.nm.stat.stochasticprocess.univariate.sde.process.ou.OrnsteinUhlenbeckProcess
-
- All Implemented Interfaces:
OUProcess
public class OrnsteinUhlenbeckProcess extends SDE implements OUProcess
This class represents a univariate Ornstein-Uhlenbeck (OU) process. An Ornstein-Uhlenbeck process, \(x_t\), satisfies the following SDE: \[ dx_t = \theta (\mu - x_t)dt + \sigma dW_t, \] where \(W_t\) represents a Wiener process.- See Also:
- Wikipedia: Ornstein-Uhlenbeck process
-
-
Constructor Summary
Constructors Constructor Description OrnsteinUhlenbeckProcess(double mu, double theta)Construct a univariate OU process with unit volatility.OrnsteinUhlenbeckProcess(double mu, double theta, double sigma)Construct a univariate OU process.OrnsteinUhlenbeckProcess(OrnsteinUhlenbeckProcess that)Copy constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublemu()Get the overall mean.doublesigma()Get the volatility.doubletheta()Get the mean reversion rate.
-
-
-
Constructor Detail
-
OrnsteinUhlenbeckProcess
public OrnsteinUhlenbeckProcess(double mu, double theta)Construct a univariate OU process with unit volatility.- Parameters:
mu- the overall meantheta- the mean reversion rate
-
OrnsteinUhlenbeckProcess
public OrnsteinUhlenbeckProcess(double mu, double theta, double sigma)Construct a univariate OU process.- Parameters:
mu- the overall meantheta- the mean reversion ratesigma- the volatility
-
OrnsteinUhlenbeckProcess
public OrnsteinUhlenbeckProcess(OrnsteinUhlenbeckProcess that)
Copy constructor.- Parameters:
that- a univariate OU process
-
-