system of equations @ssr

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

john anania
Posts: 7
Joined: Tue Jun 05, 2012 8:44 am

system of equations @ssr

Postby john anania » Tue Jun 05, 2012 8:58 am

I'm trying to pull out the sum of squared residuals for each equation in my system, but keep getting an error (code is below)

system hm1
hm1.append lhpr = c(1)*lypdk +c(2)*lreal_stock +c(3)*rm5yr+c(4)*break1
hm1.append lresk = c(5)+c(6)*lhpr +c(7)* rprime+c(8)*lwager
hm1.append inst lypdk rprime rm5yr lwager break1
hm1.fiml
scalar ssr1= @ssr(1)
scalar ssr2= @ssr(2)
show hm1.results

The error is: syntax error in "scalar ssr1= @ssr(1)"

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

Re: system of equations @ssr

Postby EViews Gareth » Tue Jun 05, 2012 9:11 am

You need:

Code: Select all

scalar ssr1 = hm1.@ssr(1)

john anania
Posts: 7
Joined: Tue Jun 05, 2012 8:44 am

Re: system of equations @ssr

Postby john anania » Tue Jun 05, 2012 9:19 am

Thanks for the quick reply.


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests