# NOT RUN {
mu1 <- mu2 <- sigma12 <- sigma22 <- 100
rho12 <- 0.9
Sigma <- matrix(c(sigma12, rho12*sqrt(sigma12*sigma22),
rho12*sqrt(sigma12*sigma22), sigma22),
nrow=2)
k <- 8
N <- 100
X <- rmvt(N, sigma=Sigma, df=k, delta=c(mu1, mu2))
result <- mvt.mcmc(X, 4, 25)
colMeans(result$Mu.save)
apply(result$Sigma.save, c(1,2), mean)
mean(result$v.save)
# }
Run the code above in your browser using DataLab