system of equations @ssr
Posted: 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)"
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)"