Learn R Programming

Sim.DiffProc (version 2.5)

Stweibull: Creating Stochastic Process The Weibull Distribution

Description

Simulation stochastic process by a weibull distribution.

Usage

Stweibull(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,Stlogis,Stchisq,Stcauchy,Stbeta,Stllogis3,Stlnorm, Stexp,Stlgamma3,Stweibull3,Stlnorm3,Stlgamma3,Stllogis,Stgp, Stgamma3,SRW,WNG,Stst.

Examples

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

Run the code above in your browser using DataLab