Does anyone know how to use function model_comparison to compute posterior odds ratios? I followed the method tanya advised as followed:
file_names = cell(nomodels,1);
model_priors = [1;1];
PosteriorOddsTable = model_comparison(file_names,model_priors);
but the system returns:
??? Input argument “options_” is undefined.
Error in ==> model_comparison at 51
Error in ==> comparison at 7
My Dynare edition is 4.2.0. I read the code of function model_comparison and found that this function needs five input, which are ModelNames,ModelPriors,oo,options_,fname. How to define oo and fname?