EqTabs - add AIC and SIC values to table
Posted: Sat Oct 13, 2018 8:35 pm
Hello EViews Users,
Is there any ways to add other estimator values like AIC, SIC and DW to the bottom of the EqTabs (EqSumTab)?
In the eqsumtab.prg can I just grab sets of codes and modify them?
For example, I'm assuming these sets of codes are what list F-prob to the bottom of table. These codes are from different lines/locations of eqsubtab.prg, and they are separated by "------------------------"
Could I just somehow modify them to pull AIC. If so, what is the variables that pull the AIC?
Thank you
Is there any ways to add other estimator values like AIC, SIC and DW to the bottom of the EqTabs (EqSumTab)?
In the eqsumtab.prg can I just grab sets of codes and modify them?
For example, I'm assuming these sets of codes are what list F-prob to the bottom of table. These codes are from different lines/locations of eqsubtab.prg, and they are separated by "------------------------"
Code: Select all
!doFProb = 0 'Add F-prob
------------------------
%FPDP = "4" 'Number of decimal plaecs to display the F P-val
------------------------
%temp = @equaloption("FProb")
if @len(%temp) then
!doFProb=1
%FPDP =%temp
else
!doFProb=0
endif
------------------------
if !doFProb = 1 then
!fpval = 1-@cfdist(@abs({%eqname}.@f),{%eqname}.@ncoef-1,!df) 'calculate f pvalue
%fpval = @str(!fpval,%fpformat) 'convert to string
{%tabname}(!rowcounter+1+!doObs+!dor2+!dofstat,!colcounter) = %fpval
endif
------------------------
if !doFProb then 'add F p-value
{%tabname}(!rowcounter,1) = "Prob(F-stat):"
{%tabname}.setfont(!rowcounter,1) +i
!rowcounter = !rowcounter+1
endifThank you