compute correlation coefficient between two columns in table object

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Jason, EViews Moderator

hussam
Posts: 6
Joined: Mon May 15, 2017 3:40 am

compute correlation coefficient between two columns in table object

Postby hussam » Fri Jul 21, 2017 5:54 am

Hi.......
i have a table object with numerical values in cells , i want to compute correlation coefficient between two columns in this table with p-value and t-statistics too.
is there command or any program can do this ?

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

Re: compute correlation coefficient between two columns in table object

Postby EViews Gareth » Fri Jul 21, 2017 6:13 am

You'd need to convert them into a matrix. Use the ttom command.
Follow us on Twitter @IHSEViews

hussam
Posts: 6
Joined: Mon May 15, 2017 3:40 am

Re: compute correlation coefficient between two columns in table object

Postby hussam » Fri Jul 21, 2017 7:25 am

Ok.....thnx


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 5 guests