@expand(crossid) in Systems

For questions regarding programming in the EViews programming language.

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

Frdmn
Posts: 13
Joined: Sat Aug 11, 2018 5:44 am

@expand(crossid) in Systems

Postby Frdmn » Thu Apr 11, 2019 1:11 am

Hello, I'm trying to estimate a translog system in a panel setup and I'm using the append command but I don't know how to create cross sectional heterogeneity in this command.

so if I do:

Code: Select all

system translog

translog.append y1=c(1)+c(2)*x+c(3)*y1(-1)
translog.append y2=c(4)+c(2)*x+c(4)*y2(-1)
#

The model will estimate the coefficient on all cross sections but if I want for instance to have c(3) a cross sectional heterogeneous coefficient analogous to @expand(@crossid) how can I make that?

I also like using this command (and not the "autospec") because I can declare common coefficient in all equations ( like c(2) here).

Any ideas? Thanks!

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

Re: @expand(crossid) in Systems

Postby EViews Gareth » Thu Apr 11, 2019 8:15 am

Unfortunately you'd have to type it out manually, or use a program to build up a list of the expressions with a for loop.
Follow us on Twitter @IHSEViews


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 16 guests