Learn R Programming

Sim.DiffProc (version 2.5)

Stgp: Creating Stochastic Process The Generalized Pareto Distribution

Description

Simulation stochastic process by a generalized pareto distribution.

Usage

Stgp(N, t0, x0, T, shape, scale, output = FALSE)

Arguments

N
size of process.
t0
initial time.
x0
initial value at time t0.
T
final time.
shape
shape parameter.
scale
scale 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, Stgamma3,SRW,WNG,Stst.

Examples

Run this code
Stgp(N=1000,t0=0,x0=0,T=1,shape=1,scale=1)

Run the code above in your browser using DataLab