prints Bayesian Model Averaging results
prtbma_g(res,out)
* 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)
* nothing, just print the results
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)) | ![]() | ![]() |