I am trying to assign a Wishart distribution to a matrix. When I assign the scale parameter of the Wishart distribution everything but the I matrix (or its multiples), the software cannot compute the eigenvalue and it crashes.

My question is that why they put an I matrix (or its multiples) with only the main diagonal for the scale parameter of the Wishart distribution? If the rest of the matrix is zero, what happens to the covariance (or the correlations between variables)? isnt it that by putting the rest of the matrix equal to zero,we automatically neglect the correlation between 2 variables?

Similar questions and discussions