I fit a multivariate distribution in R with below data. I need help in understanding the output.
library(mvtnorm)
h2
a b c d e
0.3837 1.11516 1.9256 -0.50875 1.88859
0.8426 -0.84579 -0.7873 0.02639 0.33517
0.1542 -0.09256 -0.1094 -1.38610 0.54481
-1.6815 3.56519 3.1228 1.48618 1.53065
-0.5342 0.71441 0.6989 -1.55011 -0.41603
1.0721 4.52062 3.8051 -0.16023 -0.01286
-0.3047 1.27455 0.7179 0.27030 -0.34911
2.9078 1.61245 1.2929 0.21195 1.32390
-0.3047 -0.51061 -0.4536 1.54295 1.08431
-0.7636 0.96761 1.2947 0.73289 -0.59614
mu = colMeans(h2)
C1 = cov(h2)
# Below function will compute probability for each row
F2 = function(b)
{
pmvnorm(lower=-Inf, upper=b, mean=mu, sigma=C1)
}
# Below function will compute density for each row
F3 = function(b)
{
dmvnorm(x=b, mean=mu, sigma=C1, log=FALSE)
}
proba=apply(h2,1, F2)
dens = apply(h2,1, F3)
cbind(h2,proba,dens)
a b c d e proba dens
0.3837 1.11516 1.9256 -0.50875 1.88859 0.072544 0.0007242
0.8426 -0.84579 -0.7873 0.02639 0.33517 0.019907 0.0065792
0.1542 -0.09256 -0.1094 -1.38610 0.54481 0.005645 0.0031873
-1.6815 3.56519 3.1228 1.48618 1.53065 0.047796 0.0006827
-0.5342 0.71441 0.6989 -1.55011 -0.41603 0.001885 0.0030992
1.0721 4.52062 3.8051 -0.16023 -0.01286 0.112288 0.0013975
-0.3047 1.27455 0.7179 0.27030 -0.34911 0.022331 0.0062871
2.9078 1.61245 1.2929 0.21195 1.32390 0.271875 0.0012214
-0.3047 -0.51061 -0.4536 1.54295 1.08431 0.032490 0.0026146
-0.7636 0.96761 1.2947 0.73289 -0.59614 0.013268 0.0007913
My question, why the values of probability and density are very low for each row.
My interpretation is that, each of the rows does not belong to a multivariate normal distribution with mu and C1. Is that correct?