powered by
Parameter estimation for Ornstein<U+2013>Uhlenbeck process
fitOU(spread)
Spread time series.
List of alpha, mu and sigma estimates
# NOT RUN { spread <- simOU(mu = 5, theta = .5, sigma = 0.2, T = 5, dt = 1 / 250) fitOU(spread) # }
Run the code above in your browser using DataLab