# NOT RUN {
X <- hmm.discnp::Downloads
fit <- mleDb(X,ntop=15,zeta=TRUE)
s1 <- simulate(fit)
s2 <- simulate(fit,nsim=5) # All data sets of length 267.
s3 <- simulate(fit,nsim=5,ndata=100*(2:6))
obj <- makeDbdpars(alpha=2,beta=3,ntop=20,zeta=TRUE,ndata=500)
s4 <- simulate(obj,nsim=5,seed=1:5)
# }
Run the code above in your browser using DataLab