Learn R Programming

fChange (version 2.1.0)

generate_ornstein_uhlenbeck: Generate Data via Ornstein-Uhlenbeck Process

Description

Generate autoregressive process with errors according the Ornstein-Uhlenbeck process.

Usage

generate_ornstein_uhlenbeck(N, v, rho = 0)

Value

A dfts object for the generated data.

Arguments

N

Numeric for the number of observations.

v

Numeric for resolution of data or a vector specifying the observation points.

rho

Numeric which indicates the dependence on the previous curve.

Examples

Run this code
generate_ornstein_uhlenbeck(N = 100, v = 20)

Run the code above in your browser using DataLab