Page 1 of 1

R-Squared Output

Posted: Mon Jan 18, 2010 8:56 pm
by brennan6738
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

Re: R-Squared Output

Posted: Mon Jan 18, 2010 10:06 pm
by EViews Gareth
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.