<< prtauto_univ Printings and graphs prtcdtest >>

Grocer >> Printings and graphs > prtbma_g

prtbma_g

prints Bayesian Model Averaging results

CALLING SEQUENCE

prtbma_g(res,out)

PARAMETERS

Input

* res = a tlist provided by the function bma_g

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

 

Output

* nothing, just print the results

DESCRIPTION

Prints Bayesian Model Averaging results.

EXAMPLE

load(GROCERDIR+'/data/crime.dat')
 
// take log of data
listn = ['crime';'m';'ed';'po1';'po2';'lf';'mf';'pop';'nw';'u1';'u2';'gdp';'ineq';'prob';'time'] ;
for i =1:size(listn,1)
    execstr('l'+listn(i)+' = log('+listn(i)+')')
end
 
// BMA estimation
rbma = bma_g('lcrime',30000,'lm','so','led','lpo1','lpo2','llf','lmf','lpop','lnw','lu1','lu2',...
'lgdp','lineq','lprob','ltime','burnin=10000','mcmc=''mc3''','noprint');
 
prtbma_g(rbma,%io(2))

AUTHOR

Emmanuel Michaux 2006

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