RE: Theil on a vector

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

nvellodi
Posts: 7
Joined: Tue Aug 02, 2011 9:57 pm

RE: Theil on a vector

Postby nvellodi » Thu Aug 04, 2011 7:09 pm

Hello,

I want to use the Theil inequality statistic on a vector (which has a different dimension to the sample size). It seems to say in the manual that any of the descriptive statistics should be available for matrix objects, but when I try it, Eviews says it's illegal, as @theil is reserved for series objects. I've clearly misunderstood something here.

Any ideas?

Thanks,

Nikhil

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

Re: RE: Theil on a vector

Postby EViews Gareth » Thu Aug 04, 2011 9:41 pm

Not all functions will work on vectors as well as series. You can always use the @mtos function to convert the vector into a series, then use @theil on it, though.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests