jpfeifer wrote:Which objects are you comparing? The theoretical model moments to filtered data? If yes, that comparison is wrong. You would have to look at filtered model variables as well.
More fundamentally, what you ask of your model is hard. You want it not only to match particular moments, but also in a particular frequency band. This is a tall order that most probably the model is not really capable of.
Thank you Johannes, your answer is very important, without your help I would not have known the comparison is wrong.
Could I ask further about this?
As far as I know, people generally compare either simulated model moments (with periods = integer using stoch_simul command after estimation) or theoretical model moments to filtered data moments.
If I would like to compare theoretical model moments to filtered data,
1. If I use one-side hp filtered data,
should I use
- Code: Select all
estimation(data=... filtered_vars);
to compare filtered variables moments with data moments
or Not use filtered_vars command, but use
- Code: Select all
stoch_simul(order=1, hp_filter=1600);
after estimation to get model moments? (But data is one-sided , while hp_filter command is two-sided ?)
2. If I use bandpass filtered data to estimate, which is not recommended by you, should I use filtered_vars command
or Not use filtered_vars command, but use
- Code: Select all
stoch_simul(order=1,period=same number with the data);
after estimation and then bandpass the simulated data and compare its moments with real data moments?
Many thanks,
Catherine