Name

prtuniv — prints univariate estimation results

CALLING SEQUENCE

prtuniv(res,out)

PARAMETERS

Input

• res = a tlist provided by a univariate 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 the results from a univariate test (ols, olst, olsc, olsar1, nls, iv, logit, probit, tobit, Theil-Goldberger, hwhite, lad, ridge or robust).

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')

// now display the results of these estimation
prtuniv(rols,%io(2))
prtuniv(rolst,%io(2))

 
               

AUTHOR

Eric Dubois 2002