# model set up as a Inverse Demand & Supply System (#2)
smpl 1980 2010
system name="Soybean Model"
equation ld_Psoy_real ld_ont_soy_pe ld_gdp_real_per const
equation ld_Psoy_real ld_ont_soy_pe(-1) ld_interest(-1) ld_corn_seeded const
endog ld_Psoy_real ld_ont_soy_pe
end system
# estimate it
estimate "Soybean Model" method=tsls
#fcast 2011 2011
series pr_est = $yhat[,1]
get_system_forecast(...)
Thanks in advance