Group Mean as a Vector/Matrix?
Posted: Mon Oct 03, 2011 12:28 pm
Is there a way to obtain a vector/matrix with the common sample mean of a group? I'm planning to use Matlab to run some simulations and I need to pass both the mean and covariances for a collction of groups from eviews to matlab. The covariance part is pretty straightforward using group.cov(out=somename) How do I accomplish the same thing for the common sample mean of the series in the group?! It seems like this should be easy but I've spent half a day fighting with it!