Unbalance Panel: Fixed Effects

For questions regarding programming in the EViews programming language.

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

de726
Posts: 5
Joined: Thu Aug 25, 2016 1:07 pm

Unbalance Panel: Fixed Effects

Postby de726 » Mon Sep 19, 2016 10:50 am

Hi,
I'm trying to extract both fixed effect values and the name of variables assigned to it.
In the program, I've used "eq1.@effects" to extract the fixed effect estimation but can't find a way to extract the variables name.
I have unbalance panel so these variables name changes with each iterations. Would really appreciate the help.
Thank you.

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

Re: Unbalance Panel: Fixed Effects

Postby EViews Gareth » Mon Sep 19, 2016 11:25 am

I don't understand what you mean by "variables assigned to it"?

de726
Posts: 5
Joined: Thu Aug 25, 2016 1:07 pm

Re: Unbalance Panel: Fixed Effects

Postby de726 » Mon Sep 19, 2016 11:54 am

For example, after you estimate a cross section fixed effect equation and click on the output window "View" > "Fixed/Random Effect" > "Cross section effect" you will get something like this >>

Country Effect
US 1.1
UK 1.2
Japan 1.3
...
...
...

I'm trying to get both country names and the fixed effect coefficient for each iterations.
I have unbalance panel so the problem I'm having is that the number of countries and its name will varies when I run the program.

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

Re: Unbalance Panel: Fixed Effects

Postby EViews Gareth » Mon Sep 19, 2016 12:01 pm

Freeze the output into a table and use that.
freeze(mytab) eq1.effects

de726
Posts: 5
Joined: Thu Aug 25, 2016 1:07 pm

Re: Unbalance Panel: Fixed Effects

Postby de726 » Mon Sep 19, 2016 3:42 pm

It works, thank you!


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests