6.3.9.6.3.1.7. statsmodels.sandbox.distributions.mv_normal.MVNormal.marginal

MVNormal.marginal(indices)

return marginal distribution for variables given by indices

this should be correct for normal and t distribution

Parameters:

indices : array_like, int

list of indices of variables in the marginal distribution

Returns:

mvdist : instance

new instance of the same multivariate distribution class that contains the marginal distribution of the variables given in indices