R-Squared Output

For questions regarding programming in the EViews programming language.

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

brennan6738
Posts: 31
Joined: Tue Sep 08, 2009 1:28 pm

R-Squared Output

Postby brennan6738 » Mon Jan 18, 2010 8:56 pm

Does anyone know how to make this output come out in one work file on one line only? I get multiple workfiles with a whole row of data.

smpl 1999M12 2009M12

equation model11.ls cncl c unemp(-1) hpi(-1)

equation model22.ls cncl c unemp(-2) hpi(-2)

equation model33.ls cncl c unemp(-3) hpi(-3)

equation model44.ls cncl c unemp(-4) hpi(-4)

equation model55.ls cncl c unemp(-5) hpi(-5)

equation model66.ls cncl c unemp(-6) hpi(-6)

equation model77.ls cncl c unemp(-7) hpi(-7)

equation model88.ls cncl c unemp(-8) hpi(-8)

equation model99.ls cncl c unemp(-9) hpi(-9)

equation model1010.ls cncl c unemp(-10) hpi(-10)

model11.@r2
model22.@r2
model33.@r2
model44.@r2
model55.@r2
model66.@r2
model77.@r2
model88.@r2
model99.@r2
model1010.@r2

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

Re: R-Squared Output

Postby EViews Gareth » Mon Jan 18, 2010 10:06 pm

It really isn't clear what you are trying to do, or what you are saying. That code simply estimates 10 equations, and then displays the R2 from each. Nowhere does it create or open multiple workfiles.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests