Could I ask two short questions?
1.When doing bayesian estimation, I see some paper add one measurement error(e.g. What’s news in business cycles); while some add many measurement errors (e.g. real business cycles in emerging countries). Could you help explain why?

When using Observable variable of “hours worked”, some paper use growth rate of h, while some paper use pecentage deviation from steady state. Does such difference matter?

Many thanks. Sure, I have seen your guide for many times. But I am still not sure how many measurement errors I can add in measurement equations as **Exogenous variables,**since I do not see any example in any published paper. To make the shocks no less than observables, I need at least 2 measurement errors as exgoneous variables.
Is it O.K like:

What do you mean with as “exogenous variables”. As detailed in Chapter 6 of my Guide, using “Measurement Errors as a Special Case of Exogenous variables” is equivalent to regular measurement error using Dynare capabilities (i.e. in the observation equation of the Kalman filter). Thus, the papers you cite use that type of measurement error and what you try to do is done in the Garcia-Cicco et al (2010) AER paper and is a valid approach.

I read the paper in which authors estimate a DSGE model with measurement errors:
y_obs = y - y(-1) + epsilon_me_y.

The variance of the measurement errors is calibrated so that it corresponds to 10% of the variance in each data series.

After estimation authors report the following table (see file attached). My question is: how the numbers in the last column (i.e. structural explanation) are calculated?

Thank you for your help. I augmented my model with (measurement) equations without measurement errors (denoted as _nome in table below) as you suggested. After doing so I run my model using stoch_simul command (using calibrated parameters) and I get the following:

There is no difference between std/variance of respective variable when there is measurement error and without measurement error.

P.S.: I calibrated the standard deviation of the measurement errors so that it corresponds to 10% of the standard deviation in each data series. For example, for output growth:

var epsilon_me_y
stderr 0.00118 = 0.10std(data)=0.100.0118;

Yes, this is OK.
I finally found time to look at your initial issue. The reason is that stoch_simul currently ignores measurement error. Thus, the moments for the variables without measurement error are correct, but the ones with measurement error are understated.

My mistake. I overlooked that you specified the measurement error as a structural shock. stoch_simul is able to handle this. However, your measurement error hardly plays a role. When you look at the variance decomposition, they tend to explain 1% or less of the total variance. This will be hardly noticeable in the moments table.

I estimated my DSGE model with measurement error shocks. I included measurement errors in the model due to the stochastic singularity problem (despite having more shocks than observables in the model!). The standard deviation of the measurement error shocks is calibrated so that it corresponds to 10% of the standard deviation in each data series. After estimation I calculated historical decomposition and found that some observable variables (especially different measures of inflation, that is CPI inflation and domestic inflation based on GDP deflator) are driven mainly by measurement error shock (figure attached). How can these results be interpreted?

P.S. The measurement equation for inflation is the following:
pi_obs = (pi_ss - 1) + pi_hat + epsilon_me.

The historical decomposition is based on pi_obs. Should I calculate historical decomposition based on pi_hat? HistDecom.pdf (154 KB)

The picture is a bit strange, because it looks as if the measurement error accounts for more than 10% of the volatility.

Generally, a picture like this tells you that (believing that we do not mismeasure inflation that badly) your model is misspecified and thus has a hard time accounting for the movement of the observables with other types of shocks.