Ensuring "Include titles" checked in .CSV output dump
Posted: Thu Jun 12, 2025 11:31 am
Eviews13 (Win 11)
Can't seem to find the correct option/switch to edit this simpe 2 -line .PRG script so that it acts "as if" the "Include titles" dialogue has been checked in dumping PMG output for Cross Section Error Correction estimation results (via Right Click + "Save to Disk" via manual GUI operation:
It should produce the following .CSV output WITH the _a, _ar, Titles also dumped in the .CSV:
BUT is in fact producing this - without the Cross-Sections (ie Country suffix IDs) eg "_a", "_ar" etc as above:
Is this in fact possible using .PRG at all ???..maybe not for .CSV but only .TXT output ?
Most kind
Can't seem to find the correct option/switch to edit this simpe 2 -line .PRG script so that it acts "as if" the "Include titles" dialogue has been checked in dumping PMG output for Cross Section Error Correction estimation results (via Right Click + "Save to Disk" via manual GUI operation:
Code: Select all
' 2) SHORT-RUN COEFFICIENTS (PMG Panel estimation- ARDL)
' freeze(tblSR) STUukPG01.srcoefs ' first attempt
freeze(tblSR) STUukPG01.ecresults ' freeze SR coeffs **with titles** (Variable, Coefficient, Std. Error, …)
tblSR.save(t=csv) "C:\Data\Fit\PMG\OUT\STUukPG\STUukPG_srCOEFFS.csv" ' save to CSV (headers already in tblSR)Code: Select all
_a
,,,,
Variable,Coefficient,Std. Error,t-Statistic,Prob.
,,,,
COINTEQ,-0.043700,0.060234,-0.725505,0.4726
C,0.216081,0.298298,0.724379,0.4733
,,,,
_ar
,,,,
Variable,Coefficient,Std. Error,t-Statistic,Prob.
,,,,
COINTEQ,-0.045820,0.020021,-2.288563,0.0278
C,0.179750,0.076382,2.353296,0.0239
,,,,Code: Select all
,,,,
Variable,Coefficient,Std. Error,t-Statistic,Prob.
,,,,
COINTEQ,-0.043700,0.060234,-0.725505,0.4726
C,0.216081,0.298298,0.724379,0.4733
,,,,
,,,,
Variable,Coefficient,Std. Error,t-Statistic,Prob.
,,,,
COINTEQ,-0.045820,0.020021,-2.288563,0.0278
C,0.179750,0.076382,2.353296,0.0239
,,,,
,,,,
Variable,Coefficient,Std. Error,t-Statistic,Prob.
,,,,Most kind