<< prtauto Printings and graphs prtauto_univ >>

Grocer >> Printings and graphs > prtauto_multi

prtauto_multi

prints some automatic() results

CALLING SEQUENCE

prtauto_multi(results,namemod,test,path,out)

PARAMETERS

Input

* results = a tlist provided by function automatic

* namemod = the name of the sub-results to print in the results tlist ('stage 1 models' or 'stage 2 models')

* test = %t if the user wants to print the specification tests results ; %f if not

* path = %t if the user wants to print the name of the successively eliminated variables that lead to the printed models

* out = the file where the results are printed

 

Output

* nothing, just print the results

DESCRIPTION

Prints the sub-results named namemod in a tlist provided by automatic when there can be several regressions in the corresponding field (i.e stage 1 or 2 models).

EXAMPLE

load(GROCERDIR+'/data/bdhenderic.dat') ;
 
bounds('1964q3','1989q2')
// column HE in table 9 of Hendry and Krozlig paper
//r=ols('delts(lm1-lp)','lagts(lm1-lp-ly)','delts(lp)','rnet','delts(lagts(lm1-lp-ly))','cte')
 
// this example allows the user to recover
// the results of columns Final model A and Final model B
// in table 9 of Hendry and Krozlig paper
 
[r1]=automatic('delts(lm1-lp)','lagts(lm1-lp-ly)',...
'delts(lp)',...
'rnet',...
'delts(lagts(lm1-lp))','delts(lagts(2,lm1-lp))','delts(lagts(3,lm1-lp))','delts(lagts(4,lm1-lp))',...
'delts(ly)','delts(lagts(1,ly))','delts(lagts(2,ly))','delts(lagts(3,ly))','delts(lagts(4,ly))',...
'delts(delts(lp))','delts(delts(lagts(1,lp)))','delts(delts(lagts(2,lp)))','delts(delts(lagts(3,lp)))','delts(delts(lagts(4,lp)))',...
'delts(rnet)','delts(lagts(1,rnet))','delts(lagts(2,rnet))','delts(lagts(3,rnet))','delts(lagts(4,rnet))',...
'const','prt=nothing')
 
prtauto_multi(r1,'stage 1 models',%t,%t)
// displays on screen (no fifth argument) stage 1 models results including specification tests,
// and the path corresponding to the models.
 
prtauto_multi(r,'stage 2 models',%t,%f)
// Displays on screen (no fifth argument) stage 2 models results including specification tests,
but without giving the path corresponding to the models.

AUTHOR

Eric Dubois 2002

Report an issue
<< prtauto Printings and graphs prtauto_univ >>