Page 1 of 1

system of equations @ssr

Posted: Tue Jun 05, 2012 8:58 am
by john anania
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)"

Re: system of equations @ssr

Posted: Tue Jun 05, 2012 9:11 am
by EViews Gareth
You need:

Code: Select all

scalar ssr1 = hm1.@ssr(1)

Re: system of equations @ssr

Posted: Tue Jun 05, 2012 9:19 am
by john anania
Thanks for the quick reply.