Learn R Programming

Sim.DiffProc (version 2.5)

Stbeta: Creating Stochastic Process The Beta Distribution

Description

Simulation stochastic process by a beta distribution.

Usage

Stbeta(N, t0, x0, T, shape1, shape2, output = FALSE)

Arguments

N
size of process.
t0
initial time.
x0
initial value at time t0.
T
final time.
shape1
positive parameters of the Beta distribution.
shape2
positive parameters of the Beta distribution.
output
if output = TRUE write a output to an Excel (.csv).

Value

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

See Also

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

Examples

Run this code
Stbeta(N=1000,t0=0,x0=0,T=1,shape1=0.2,shape2=1)

Run the code above in your browser using DataLab