Page 1 of 1

how to use @ranks argument?

Posted: Wed Jul 13, 2011 11:56 am
by Liu
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])

Re: how to use @ranks argument?

Posted: Wed Jul 13, 2011 1:47 pm
by EViews Gareth

Code: Select all

= @ranks(r1, "d")

Re: how to use @ranks argument?

Posted: Thu Jul 14, 2011 7:21 am
by Liu
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.

Re: how to use @ranks argument?

Posted: Thu Jul 14, 2011 7:46 am
by EViews Gareth