# NOT RUN {
# create a basic sGARCH(1,1) spec:
spec=ugarchspec(variance.model=list(model="sGARCH", garchOrder=c(1,1)),
mean.model=list(armaOrder=c(0,0), include.mean=TRUE, garchInMean =
FALSE, inMeanType = 2), distribution.model="sstd",
fixed.pars=list(mu=0.001,omega=0.00001, alpha1=0.05, beta1=0.90,
shape=4,skew=2))
# simulate the path
path.sgarch = ugarchpath(spec, n.sim=3000, n.start=1, m.sim=1)
# }
Run the code above in your browser using DataLab