eViews 6: Kendall tau-b

For questions regarding programming in the EViews programming language.

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

cfbiehl
Posts: 8
Joined: Tue Aug 10, 2010 1:05 am

eViews 6: Kendall tau-b

Postby cfbiehl » Mon Jan 26, 2015 12:19 pm

Hello all,

I was wondering how I can code 'Kendall tau-b' in eViews 6.

Another post had asked a similar question, but unfortunately didn't get any replies.

Any help would be greatly appreciated!

Best,
Chris

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

Re: eViews 6: Kendall tau-b

Postby EViews Gareth » Mon Jan 26, 2015 1:02 pm

Could you be more specific?

cfbiehl
Posts: 8
Joined: Tue Aug 10, 2010 1:05 am

Re: eViews 6: Kendall tau-b

Postby cfbiehl » Thu Feb 05, 2015 5:06 am

Sorry of course:

I would like to run a Kendall tau-b test between two data series.
However, I cannot find the command for this test anywhere in the eviews handbooks.

In the interface it is possible to run the test I just don't know how to call on it through coding.

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

Re: eViews 6: Kendall tau-b

Postby EViews Gareth » Thu Feb 05, 2015 8:33 am

How are you doing it via the interface?

cfbiehl
Posts: 8
Joined: Tue Aug 10, 2010 1:05 am

Re: eViews 6: Kendall tau-b

Postby cfbiehl » Fri Feb 06, 2015 9:00 am

In the interface (eViews 6) I select the two data series, then open them as group, then View, Covariance analysis, then change method to Kendall's tau, tick tau-b and ok.

Now I would like to do the same through programming.

Thank you,
Chris

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

Re: eViews 6: Kendall tau-b

Postby EViews Gareth » Fri Feb 06, 2015 9:33 am

Code: Select all

group mygroup myseries1 myseries2 show mygroup.cov taub

cfbiehl
Posts: 8
Joined: Tue Aug 10, 2010 1:05 am

Re: eViews 6: Kendall tau-b

Postby cfbiehl » Sat Feb 07, 2015 1:33 am

Great, thank you!

cfbiehl
Posts: 8
Joined: Tue Aug 10, 2010 1:05 am

Re: eViews 6: Kendall tau-b

Postby cfbiehl » Sat Feb 07, 2015 5:48 am

As a brief follow up questions:
How can I draw on the results of the test, i.e. in the same way I can retrieve the coefficient of a ls regression by using @coefs(regression)?

In the end I would like to create a matrix with the test statistic of a large number of data series, i.e.

S1 S2 S3
S1 1 0.2 0.1
S2 0.2 1 0.3
S3 0.1 0.3 1


Also I do not want to just save the 'show' output as I would like to run this in a loop to test a large number of series.

Thank you for your help so far. Any tips regarding this would be great!

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

Re: eViews 6: Kendall tau-b

Postby EViews Gareth » Sat Feb 07, 2015 11:17 am


cfbiehl
Posts: 8
Joined: Tue Aug 10, 2010 1:05 am

Re: eViews 6: Kendall tau-b

Postby cfbiehl » Sun Feb 08, 2015 9:02 am

Thank you Gareth that does exactly what I wanted!


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests