Unable to Compute Median Vector

For questions regarding the import, export and manipulation of data in EViews, including graphing and basic statistics.

Moderators: EViews Gareth, EViews Jason, EViews Steve, EViews Moderator

Posts: 152
Joined: Mon Jun 23, 2014 12:04 am

Unable to Compute Median Vector

Postby diggetybo » Thu Oct 26, 2017 10:26 pm

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

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 12576
Joined: Tue Sep 16, 2008 5:38 pm

Re: Unable to Compute Median Vector

Postby EViews Gareth » Thu Oct 26, 2017 10:30 pm

@cmedian is not in 9. There really isn’t another way to do it other than converting to series rather than matrices.
Follow us on Twitter @IHSEViews

Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 7 guests