control firm fixed effect

For technical questions regarding estimation of single equations, systems, VARs, Factor analysis and State Space Models in EViews. General econometric questions and advice should go in the Econometric Discussions forum.

Moderators: EViews Gareth, EViews Moderator

florriec
Posts: 12
Joined: Thu Nov 08, 2012 9:16 am

control firm fixed effect

Postby florriec » Tue Oct 08, 2013 9:28 am

Hi,
my regression model is logistic model, how can i create a Fixed Effect Dummies for controlling "firm" fixed effect.
@expand (XXXXXX)

thank you

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

Re: control firm fixed effect

Postby EViews Gareth » Tue Oct 08, 2013 9:36 am

Do you have a panel workfile?

florriec
Posts: 12
Joined: Thu Nov 08, 2012 9:16 am

Re: control firm fixed effect

Postby florriec » Wed Oct 09, 2013 5:24 am

please see the attachment.

i create " series withinid =@obsid" for period fixed effects and "series cxid= @crossid" for firm (stock number) fixed effects.
if i want to havae period and firm fixed effect. wHAT is the command?? :D
i did try @expand (@obsid, @dropfirst) @expand @crossid, @dropfirst) .however, it shows " 751 is not a valid index for vector-series-coeffcient C)


THANK YOU
Attachments
a file iroe file_her_10.wf1
(609.45 KiB) Downloaded 271 times

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

Re: control firm fixed effect

Postby EViews Gareth » Wed Oct 09, 2013 7:52 am

Yep you'll have to use @expand in the way that you are. But you'll run out of room using the built in C coefficient vector, so you'll have to use your own coefficient vector. To do this, simply enter a different name (say "Beta") on the "Coefficient Name" box of the options tab of the estimation dialog.

florriec
Posts: 12
Joined: Thu Nov 08, 2012 9:16 am

Re: control firm fixed effect

Postby florriec » Wed Oct 09, 2013 8:29 am

however, since my estimation settings -- method --Binary , in its option tab, there isn't any "coefficient name".
so, what should i do?

florriec
Posts: 12
Joined: Thu Nov 08, 2012 9:16 am

Re: control firm fixed effect

Postby florriec » Wed Oct 09, 2013 8:42 am

i did try object--new object-matrix-vector-coef --type "beta"-- choose coefficient vector.
then in the estimation box type "turnover beta iroe........@expand(@obsid, @dropfirst) @expand(@crossid, @dropfirst).
and it shows like "beta is not a series".

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

Re: control firm fixed effect

Postby EViews Gareth » Wed Oct 09, 2013 8:46 am

Are you using EViews 8?

florriec
Posts: 12
Joined: Thu Nov 08, 2012 9:16 am

Re: control firm fixed effect

Postby florriec » Wed Oct 09, 2013 8:48 am

e-views 6 :(

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

Re: control firm fixed effect

Postby EViews Gareth » Wed Oct 09, 2013 8:48 am

You're out of luck then.

florriec
Posts: 12
Joined: Thu Nov 08, 2012 9:16 am

Re: control firm fixed effect

Postby florriec » Wed Oct 09, 2013 8:51 am

So, that means i need to use E views 8 for getting the results.
how is about e views 7?

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

Re: control firm fixed effect

Postby EViews Gareth » Wed Oct 09, 2013 8:51 am

Only 8 allows you to change the default coefficient vector.


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests