# Can output, investment, consumption and government spending all be included as observables

**URL:** <https://forum.dynare.org/t/can-output-investment-consumption-and-government-spending-all-be-included-as-observables/16489>\
**Category:** ML/Bayesian estimation\
**Created:** [26 August 2020 03:37 UTC](https://forum.dynare.org/t/can-output-investment-consumption-and-government-spending-all-be-included-as-observables/16489 "2020-08-26T03:37:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jesse](https://forum.dynare.org/letter_avatar_proxy/v4/letter/j/c77e96/32.png) [@Jesse](https://forum.dynare.org/u/Jesse)\
**Post date:** [26 August 2020 03:37 UTC](https://forum.dynare.org/t/can-output-investment-consumption-and-government-spending-all-be-included-as-observables/16489/1 "2020-08-26T03:37:08Z")

</div>

Dear Johannes,  
First thank you for your previous guidance, I am grateful.  
I have a question regarding estimating DSGE models, in my DSGE model, I would like to include output, consumption, investment and government spending all as observable variables, however, theoretically, output should be a linear combination of consumption, investment and government spending. Although all these variables are log differenced/growth rates, I am wondering will there be any problems like perfectly linearity among observables if I include output, consumption, investment and government spending growth rates simultaneously as observables for estimating DSGE models?  
Thank you and look forward to hearing from you.  
Best regards,  
Jesse

---

<div class="post-metadata">

**Author:** ![jpfeifer](https://forum.dynare.org/user_avatar/forum.dynare.org/jpfeifer/32/5044_2.png) [@jpfeifer](https://forum.dynare.org/u/jpfeifer)\
**Post date:** [26 August 2020 08:39 UTC](https://forum.dynare.org/t/can-output-investment-consumption-and-government-spending-all-be-included-as-observables/16489/2 "2020-08-26T08:39:20Z")

</div>

See

> [@Cannot have more observed variables than shocks?](https://forum.dynare.org/t/cannot-have-more-observed-variables-than-shocks/6187/2):
>
> Yes, that is true. The problem is known as “stochastic singularity”. The problem is that in a linear model if you have fewer shocks than observables, there will be an exact linear combination implied between observables. That in turn means that the density of observing those variables is either 1 (the exact linear combination in the model holds in the data; rarely the case) or 0 (the exact linear combination does not hold; the typical case). As you can imagine with a log density of minus infinit…

---

<div class="post-metadata">

**Author:** ![Jesse](https://forum.dynare.org/letter_avatar_proxy/v4/letter/j/c77e96/32.png) [@Jesse](https://forum.dynare.org/u/Jesse)\
**Post date:** [27 August 2020 07:22 UTC](https://forum.dynare.org/t/can-output-investment-consumption-and-government-spending-all-be-included-as-observables/16489/3 "2020-08-27T07:22:58Z")

</div>

Thank you for your helpful guidance!
