<< prtms_quali Printings and graphs prtsys >>

Grocer >> Printings and graphs > prtres

prtres

prints any regression results

CALLING SEQUENCE

prtres(res,out)

PARAMETERS

Input

* res = a tlist provided by a regression function

* out = the file where the results are printed (optional; default: %io(2), i.e the screen)

 

Output

* nothing, just print the results

DESCRIPTION

Prints on the file out the results from any regression that have been saved in results tlist. The function simply determines the method used and calls a specialised printing function such as prtuniv, prtunitr,...

EXAMPLE

load(GROCERDIR+'/data/bdhenderic.dat') ;
 
// set the estimation bounds
bounds('1964q3','1989q2')
 
// estimate the model by ols, then olts and save the results in the tlist
// rols, without printing the results
 
rols=ols('delts(lm1-lp)','delts(lp)','delts(lagts(1,lm1-lp-ly))','rnet','lagts(1,lm1-lp-ly)','const','noprint')
rolst=olst('delts(lm1-lp)','delts(lp)','delts(lagts(1,lm1-lp-ly))','rnet','lagts(1,lm1-lp-ly)','const','noprint')
rvar= VAR(2,'delts(lm1-lp)','delts(lp)','delts(ly)','delts(rnet)','noprint')
 
// now display the results of these estimation
prtres(rols,%io(2))
prtres(rolst,%io(2))
prtres(rvar,%io(2))
 
 
prtres(result,%io(2))

AUTHOR

Eric Dubois 2002

Report an issue
<< prtms_quali Printings and graphs prtsys >>