PostSim New for GEMPACK 9.0 Within sections of TABLO code between PostSim (begin); and PostSim (end); statements: •values of coefficients will be their final (updated) values. •you can refer to variables as if they were coefficients: values will be the final (extrapolated) values. Example: PostSim (Begin) ; ! Beginning of a section of post-sim code ! SET RegVar1 (u, y, EV) ; Coefficient (All,r,REG)(All,v,RegVar1) RegResults1(r,v) ; Formula (All,r,REG) RegResults1(r,u) = u(r) ; Formula (All,r,REG) RegResults1(r,y) = y(r) ; Formula (All,r,REG) RegResults1(r,EV) = EV(r) ; File (new, text, SSE) PostSim1 ; !sse or spreadsheet! Write RegResults1 to File PostSim1 ; ! or write it to a Header Array file ! PostSim (End) ; ! Marks end of a section of post-sim code ! Following statements are allowed in a PostSim section: Set Subset Coefficient File Read Formula ZeroDivide Mapping Write Display Assertion However, you cannot do both normal and postsim reads from the same file. You can also give Writes a PostSim qualifier: Write(PostSim) GDP to file SUMMARY header UGDP ; There are also XPostSim statements, for command [CMF] files. Condensation: You cannot omit or substitute out any variable that appears in the post-simulation part since its values will not be available. However you can backsolve for such variables. URL of this topic: www.copsmodels.com/webhelp/tabmate/hc_postsim.htm Link to full GEMPACK Manual Link to GEMPACK homepage |