how to use @ranks argument?

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

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

Liu
Posts: 90
Joined: Tue Jun 08, 2010 6:22 am

how to use @ranks argument?

Postby Liu » Wed Jul 13, 2011 11:56 am

Hi.

I am using @ranks to convert a group of series to ranked scores. The @ranks function has descend as default method for ranking.
How can I use the ascend method for ranking?

I tried the argument below but it doesn't work.

rowvector r2=@ranks(r1, d)

or

rowvector r2=@ranks(r1 [d])

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

Re: how to use @ranks argument?

Postby EViews Gareth » Wed Jul 13, 2011 1:47 pm

Code: Select all

= @ranks(r1, "d")

Liu
Posts: 90
Joined: Tue Jun 08, 2010 6:22 am

Re: how to use @ranks argument?

Postby Liu » Thu Jul 14, 2011 7:21 am

just another quick question,


is there a way I can fetch the result of a test? what I mean is like this, suppose I am using uroot function,
after I do series.uroot(arg1, arg2...), eviews gives the results such as p value, intercept etc, in another window.
Is there a way I can use those results in command form? such as series.uroot$PValue as the p value of the test and series.uroot$intercept as the intercept...?

the reason is that I want to write a program so that whenever the test is not significant then 'process the data in a certain way.


Thanks.

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

Re: how to use @ranks argument?

Postby EViews Gareth » Thu Jul 14, 2011 7:46 am



Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 2 guests