Asking command to view result of panel

For questions regarding programming in the EViews programming language.

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

Gimel
Posts: 4
Joined: Sun Feb 02, 2014 6:41 am

Asking command to view result of panel

Postby Gimel » Thu Feb 27, 2014 6:31 am

Hi, I am a novice in eviews and still learning (hard :) actually. I recently stumbled on the way to do the same thing using command.
I did panel estimation and I can view the result of fix / Random effects through interactive window by doing:
View - Fixed/Random Effects - Cross-section effects OR Period effects.

But I cannot view that using command programming. Is there anyone know how to do it?

Second question: How to put residcor result method to matrix? I can only freeze them into a table but cannot put them into a matrix by doing:

matrix mat = eqsur.residcor

Eviews will issue Syntax error

Gimel

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

Re: Asking command to view result of panel

Postby EViews Gareth » Thu Feb 27, 2014 9:07 am

1) eqname.effects (if you actually have a panel equation. For a pool object, I'm not sure you can).

2) I think you'll have to calculate the correlation matrix yourself from the residuals of the pool object.

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

Re: Asking command to view result of panel

Postby EViews Gareth » Thu Feb 27, 2014 10:51 am

For part 2):

Code: Select all

p.makeresids pr? group g pr? g.cor(ucor,out=mat)
where p is the name of your pool object.

EViews Glenn
EViews Developer
Posts: 2682
Joined: Wed Oct 15, 2008 9:17 am

Re: Asking command to view result of panel

Postby EViews Glenn » Thu Feb 27, 2014 11:15 am

The result will be in matcorr.

Note that pools display the effects in the main estimation output window.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests