Page 1 of 1

historical and smoothed variables plot problem

PostPosted: Tue Mar 22, 2016 2:55 am
by ZBCPA
Dear Johannes,

Could you have a look the attached historical and smoothed variables plot , there is no measurement error in the model. Does it look weird as for i_obs and h_obs ? Generally why does it happen?

Many thanks,
Huan

Re: historical and smoothed variables plot problem

PostPosted: Tue Mar 22, 2016 10:07 am
by jpfeifer
Usually this happens when there is stochastic singularity.

Re: historical and smoothed variables plot problem

PostPosted: Wed Mar 23, 2016 8:55 pm
by kipfilet
Hi Huan,

One reason why this may happen is that you have a deterministic relationship between two variables in the model that are being fed in as observables. This would generate the observed patterns, even in the absence of stochastic singularity (i.e. even if you have #shocks>=#observables).

Re: historical and smoothed variables plot problem

PostPosted: Thu Mar 24, 2016 8:34 am
by jpfeifer
@kipfilet What you describe is stochastic singularity. Having as many shocks as observables is only a necessary condition, but not sufficient. If there is a linear combination only involving observables the forecast error variance matrix will be singular.

Re: historical and smoothed variables plot problem

PostPosted: Sat May 21, 2016 5:26 am
by DW916
Dear Johhanes,

In my model, I have 6 observables, 5 structural shocks and 2 measurement error shocks, one measurement error is attached to output (more shocks than observables). I construct the data output as Y=C+I+G (not Y=C+I+G+NX) which is consistent with my model.

If I have this output measurement error, every observable matches perfectly in "Historical and smoothed variables" plot. However, if there is no output measurement error, the government spending variable does not match perfectly well (the red line and black line have some gap). Graphs are attached, please have a look.

1. Is this plot reliable if the red line and black line have some gap? If this is a problem, must I add output measurement error?

1. Is this case calling stochastic singularity, even though shocks=observables?

2. Why this problem can happen? I do not think I have linearity since there is no two shocks simultaneously appear in one equation.

Many many thanks,
Catherine

Re: historical and smoothed variables plot problem

PostPosted: Sat May 28, 2016 8:10 am
by jpfeifer
Dear Catherine, this is the prototypical stochastic singularity example. A necessary condition is to have as many shocks as observables. But this is not sufficient. In addition, there must not be a perfect linear relationship between the observables. If you have
Code: Select all
Y=C+I+G

and you observe all variables on the right, they are going to imply a particular value for Y at every point in time. If you now observe Y at the same time without measurement error, you have exactly this issue. For this reason, you need measurement error.