Name

prtauto — prints automatic() results

CALLING SEQUENCE

prtauto(results,lnp,out)

PARAMETERS

Input

• results = a tlist provided by function automatic

• lnp = 'prt=option_1,..., option_b' where option_i is one among the following options:

 - 'all': all results are printed

 - 'initial': initial model

 - 'st0_mod': stage 0 model printed

 - 'st1_mod': stage 1 models printed

 - 'st1_union': stage 1 union model printed

 - 'st2_mod': stage 2 models printed

 - 'st2_union': stage 2 union models printed

 - 'final': final model printed

 - 'st1_path': paths of stage 1 models printed

 - 'st2_path': paths of stage 2 model printed

 - 'path': stages 1 and 2 paths printed

 - 'test_final': specification tests for final model printed

 - 'test_inter': specification tests for all intermediate models printed

 - 'test' : specification tests for all models printed

• out = the file where to print the results

Output

• nothing, just print the results

DESCRIPTION

Prints the results of an automatic regression.

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(r1,'prt=initial,final,test_final',%io(2))
 
// Prints on screen selected results of rauto: inital and final models, with specification tests for the 
// final model.

               

AUTHOR

Eric Dubois 2002