Dear Johhanes,
I find that in the new edition dynare 4.5, when I do bayesian estimation, the data I use are all logged (first difference),while the model block are non-linear, just like your code of "Real business cycles in emerging countries", then I can use "logdata" command. However, it must be used with loglinear command,like
"estimestimation(datafile=data_argentina,
xls_range=G2:J107,
loglinear,
logdata,
mode_compute=6,
moments_varendo,
mh_nblocks=1,
mh_replic=1000000,
graph_format=(pdf,fig),
mode_check)
I can also use loglinear in the stoch_simul block BEFORE estimation block, the result will be same. Anyway, logdata command must follow loglinear command ,no matter "loglinear" appears after stoch_simul or appears after estimation.
Is that right?
Best regards,
Huan