Learn R Programming

Sim.DiffProc (version 2.5)

Stgamma3: Creating Stochastic Process The Three-Parameter Gamma Distribution

Description

Simulation stochastic process by a three-parameter gamma distribution (also known as Pearson type III distribution).

Usage

Stgamma3(N, t0, x0, T, shape, rate, thres, output = FALSE)

Arguments

N
size of process.
t0
initial time.
x0
initial value at time t0.
T
final time.
shape
shape parameter.
rate
rate parameter.
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,Stlnorm,Stlnorm3, Stexp,Stlgamma3,Stweibull3,Stlogis,Stllogis,Stllogis3,Stgumbel, Stgp,SRW,WNG,Stst.

Examples

Run this code
Stgamma3(N=1000,t0=0,x0=0,T=1,shape=0.2,rate=0.1,thres=-5)

Run the code above in your browser using DataLab