I'm trying to fit a multivariate normal distribution to data that I collected, in order to take samples from it.
I know how to fit a (univariate) normal distribution, using the fitdist
function (with the 'Normal'
option).
How can I do something similar for a multivariate normal distribution?
Doesn't using fitdist
on every dimension separately assumes the variables are uncorrelated?