<< prtvar Printings and graphs prtvarma >>

Grocer >> Printings and graphs > prtvarf

prtvarf

prints VAR or VARMA forecast results

CALLING SEQUENCE

prtvarf(res,out)

PARAMETERS

Input

* res = a tlist provided by a VAR or VARMA forecast

* 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 var forecast (from varf function) or varma forecast (from varmaf function).

EXAMPLE

load(GROCERDIR+'/data/datajpl.dat')
illinos=reshape(illinos,'1982m1')
indiana=reshape(indiana,'1982m1')
kentucky=reshape(kentucky,'1982m1')
michigan=reshape(michigan,'1982m1')
ohio=reshape(ohio,'1982m1')
pennsyvlania=reshape(pennsyvlania,'1982m1')
tennesse=reshape(tennesse,'1982m1')
westvirginia=reshape(westvirginia,'1982m1')
bounds('1982m7','1994m12')
varjls=VAR(2,'endo=illinos;indiana;kentucky;michigan;ohio;pennsyvlania;tennesse;westvirginia','noprint')
save('varjls.dat',varjls)
rf=varf(varjls,'1995m12','noprint')
 
 
prtvarf(rf,%io(2))

AUTHOR

Eric Dubois 2002-2004

Report an issue
<< prtvar Printings and graphs prtvarma >>