# NOT RUN {
## These are long running examples that use parallel computing!
## Running the below examples takes approximately 2 minutes
# These examples use the data 'eurusd' which comes with the
# package, but in a scaled form.
data <- cbind(10*eurusd[,1], 100*eurusd[,2])
colnames(data) <- colnames(eurusd)
# GMVAR(1,2) model, only 5 iterations of the variable metric
# algorithm
fit12 <- fitGMVAR(data, p=1, M=2, ncalls=1, maxit=5, seeds=7)
fit12
# Iterate more:
fit12_2 <- iterate_more(fit12)
fit12_2
# }
Run the code above in your browser using DataLab