powered by
This function simulates observation from a bivariate Markov regime switching copula model
SimHMMCop(Q, family, KendallTau, n, DoF)
Transition probality matrix (d x d);
'gaussian' , 't' , 'clayton' , 'frank' , 'gumbel'
Kendall's rank correlation
number of simulated vectors
degree of freedom only for the Student copula
Simulated Data
Markov chain regimes
parameters alpha
# NOT RUN { Q <- matrix(c(0.8, 0.2, 0.3, 0.7),2,2) ; kendallTau <- c(0.3 ,0.7) ; simulations <- SimHMMCop(Q, 'gumbel', kendallTau, 300) # }
Run the code above in your browser using DataLab