Taking "within period" expectations
Posted: Thu May 29, 2014 2:23 pm
Hi,
My understanding is that Dynare interprets all variables with t subscript as being known at time t. Is it possible to treat a time t exogenous shock as unknown, so that one can take expectations over an expression that contains this shock? The shock variable is iid over time. I bet this is very unclear, so here is my specific problem:
Imagine that within each period, a firm faces a two-stage price-setting problem. First, it has to choose how much information to acquire about some relevant variable (i.e. a demand shifter), and then based on this information it has to set the price that maximizes expected profit. Information acquisition means observing a noisy signal of the true state. Both the true state and the noise shock is iid, so the signal itself is iid over time. The firm solves the problem backwards: First, for a given signal it finds the price that maximizes expected profit. At this stage, I want my time t signal variable (true state+noise shock) to be known. Second, the firm chooses the signal precision that maximizes ex ante expected profit taking into account the pricing rule derived in step 1. In the optimality condition for this decision, I want to take expectations over possible signals (which include the time t noise shock). Is there a way to achieve something like this in Dynare?
I am not sure I was able to explain it clearly, but please let me know if further clarification would help answer the question.
Thanks a lot.
My understanding is that Dynare interprets all variables with t subscript as being known at time t. Is it possible to treat a time t exogenous shock as unknown, so that one can take expectations over an expression that contains this shock? The shock variable is iid over time. I bet this is very unclear, so here is my specific problem:
Imagine that within each period, a firm faces a two-stage price-setting problem. First, it has to choose how much information to acquire about some relevant variable (i.e. a demand shifter), and then based on this information it has to set the price that maximizes expected profit. Information acquisition means observing a noisy signal of the true state. Both the true state and the noise shock is iid, so the signal itself is iid over time. The firm solves the problem backwards: First, for a given signal it finds the price that maximizes expected profit. At this stage, I want my time t signal variable (true state+noise shock) to be known. Second, the firm chooses the signal precision that maximizes ex ante expected profit taking into account the pricing rule derived in step 1. In the optimality condition for this decision, I want to take expectations over possible signals (which include the time t noise shock). Is there a way to achieve something like this in Dynare?
I am not sure I was able to explain it clearly, but please let me know if further clarification would help answer the question.
Thanks a lot.