Is there a way to sample from a probability distribution on the space of positive definite $3\times3$ matrices with some constraints? I'm looking for any examples of such schemes.
In particular, I'd be interested in looking at matrices with $\alpha_1 < \det(M) < \alpha_2$ and $ \beta_1 < \text{tr}(M) < \beta_2 $, where $\alpha_i,\beta_i >0$. I am aware these may not be sufficient to bound the space.
It would be nice to not only have a uniform distribution on such a space, but also have a Gaussian-like distribution (where I would have some matrix $M$ set as the mean of the distribution, such that one could sample around it).
But any thoughts/literature on the topic would be nice. I suspect it might be easier if $M$ were symmetric.
Initial ideas: since $ \text{tr}(M) = \sum_i\lambda_i $ and $\det(M)= \prod_i\lambda_i$, I was thinking of drawing random eigenvalues such that the constraints are satisfied. Another constraint may need to be added (3 constraints for 3 eigenvalues). Then I would sample $P$ as an orthogonal matrix and take $P\,\text{diag}(\lambda)P^{-1}$ (not sure this is the right thing to do). However, I have no idea how "uniform" such a distribution would be in the space of PD matrices, nor does this seem very efficient. Further, whether it covers the whole space is not clear.
Edit 1: the "Related" questions bar suggested this question, which is similar but restricted to symmetric matrices. It links to the Wishart distribution, which led me to the matrix Gamma distribution and inverse matrix Gamma distribution. It would be nice to find something allowing sampling from asymmetric PD matrices.
On the other hand, a matrix $M$ is PD iff its symmetrized version $M+M^T$ is PD. (e.g. here). (Maybe this can come in handy? E.g. if one specifies the eigenvalues, could one generate an SPD matrix, and then perturb it in a principled way).
Not guaranteed to halt in any amount of time, but it should sample like a gaussian intersected with the space.
– Artimis Fowl Jun 03 '17 at 07:02