Learn R Programming

Sim.DiffProc (version 2.5)

BMStraC: Stratonovitch Integral [2]

Description

Simulation of the Stratonovitch integral(alpha o dW(s),0,t).

Usage

BMStraC(N, T, alpha, output = FALSE)

Arguments

N
size of process.
T
final time.
alpha
constant.
output
if output = TRUE write a output to an Excel (.csv).

Value

  • data frame(time,Stra) and plot of the Stratonovitch integral.

Details

Stratonovitch integral as defined : $$integral(f(t) o dW(s),0,t) = lim(sum(0.5*(f(t[i])+f(t[i+1]))*(W(t[i+1])-W(t[i]))))$$ calculus for Stratonovitch integral with w(0) = 0: $$integral(alpha o dW(s),0,t) = alpha * W(t)$$ The discretization dt = T/N, and W(t) is Wiener process.

See Also

BMStra Stratonovitch Integral [1], BMStraP Stratonovitch Integral [3], BMStraT Stratonovitch Integral [4].

Examples

Run this code
BMStraC(N=1000, T=1, alpha = 2,output = FALSE)

Run the code above in your browser using DataLab