Learn R Programming

Sim.DiffProc (version 2.5)

Stlnorm3: Creating Stochastic Process The Three-Parameter Log Normal Distribution

Description

Simulation stochastic process by a three-parameter log normal distribution.

Usage

Stlnorm3(N, t0, x0, T, meanlog, sdlog, thres, output = FALSE)

Arguments

N
size of process.
t0
initial time.
x0
initial value at time t0.
T
final time.
meanlog
mean of the distribution on the log scale.
sdlog
standard deviation of the distribution on the log scale.
thres
threshold (or shift) parameter.
output
if output = TRUE write a output to an Excel (.csv).

Value

  • data.frame(time,x) and plot of process.

See Also

Stgamma,Stweibull,Stchisq,Stcauchy,Stbeta,Stllogis3,Stlnorm, Stexp,Stlgamma3,Stweibull3,Stlogis,Stlgamma3,Stllogis,Stgp, Stgamma3,SRW,WNG,Stst.

Examples

Run this code
Stlnorm3(N=1000,t0=0,x0=0,T=1,meanlog=1,sdlog=1,thres=-5)

Run the code above in your browser using DataLab