Usually mvnormalcv executes in a fraction of a second but for some reason this specific setup it took 20 minutes (and in a fairly beefy server at that). Any ideas?
Code:
set rmsg on
mata
bound = (0.580, 0.970, 0.771, 0.914, 0.673, 1.068, 0.810, 0.592, 1.271)
means = J(1, 9, 0)
sigma = 0.088,
0.104,
0.023,
0.070,
0.046,
0.136,
0.100,
0.025,
0.074,
0.245,
-0.032,
0.130,
0.100,
0.215,
0.116,
-0.015,
0.143,
0.155,
-0.077,
-0.026,
-0.004,
0.027,
0.024,
-0.173,
0.218,
0.060,
0.137,
0.103,
-0.008,
0.139,
0.118,
0.119,
0.018,
-0.037,
0.094,
0.297,
0.106,
-0.029,
0.171,
0.171,
0.055,
0.056,
0.091,
-0.011,
0.420
mvnormalcv(-bound, bound, means, sigma)
end

Comment