Page 1 of 1

Unable to Compute Median Vector

Posted: Thu Oct 26, 2017 10:26 pm
by diggetybo
I have been following along with the Matrix Language Reference and tried:

Code: Select all

vector v1 = @cmedian(m1)


But that gave me: "@cmedian is an illegal or reserved name"

Is @cmedian very new? I'm using eviews 9. Perhaps eviews 9 has a different syntax?

If there is no built-in method for this in eveiws 9, please share the 2nd most efficient way to compute a vector of medians from a given matrix object.

Thank you

Re: Unable to Compute Median Vector

Posted: Thu Oct 26, 2017 10:30 pm
by EViews Gareth
@cmedian is not in 9. There really isn’t another way to do it other than converting to series rather than matrices.