Learn R Programming

RTL (version 0.1.6)

fitOU: fitOU

Description

Parameter estimation for Ornstein<U+2013>Uhlenbeck process

Usage

fitOU(spread)

Arguments

spread

Spread time series.

Value

List of alpha, mu and sigma estimates

Examples

Run this code
# 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