Learn R Programming

Sim.DiffProc (version 2.5)

Stgamma: Creating Stochastic Process The Gamma Distribution

Description

Simulation stochastic process by a gamma distribution.

Usage

Stgamma(N, t0, T, alpha, beta, output = FALSE)

Arguments

N
size of process.
t0
initial time.
T
final time.
alpha
constant positive.
beta
an alternative way to specify the scale.
output
if output = TRUE write a output to an Excel (.csv).

Value

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

See Also

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

Examples

Run this code
## Stochastic Process The Gamma Distribution
 Stgamma(N=1000,t0=0,T=5,alpha=1,beta=1)

Run the code above in your browser using DataLab