assap please I need help solving the following questions
Question 4 (20 points) This question considers a variant of the standard New Keynesian model where the government can now purchase a basket of goods Gr, which is completely funded by lump sum taxes. Assume that G, is not productive and does not provide utility. The lincarized conditions are given below. In percentage deviations from steady state: & is consumption, w, is the real wage, n, is hours worked, y, is output, o, is real marginal cost and g, is government spending. In deviations from steady state: i is the nominal interest rate, #, is inflation. y, is the output gap (relative to the model with flexible prices): y, = it - up. Households w = ou + wit Firms * = BE (1 +1) + ky o and 1. Government spending, gr, follows an AR(1) process gt = pgi-1 + er where er is i.i.d. and 0 S p 1 (rather than o = 1). By inspecting the relevant household equilibrium conditions from part (a), discuss how this might affect the dynamics of consumption following a TFP shock. You do not need to re- solve the model, just provide the relevant economic intuition based on the equilibrium conditions. Let's compare the marginal utility of consumption when o > 1: = CT(CC)- - BE, CHICT-(CHICTAY-] with the case where o = 1 de = - - Bh When o = 1, the marginal utility of consumption is actually very similar to the usual RBC model with log utility. As noted in part (c), a higher h affects the level of utility but lags and leads of consumption do not affect the marginal utility of consumption. By also using we can see that the consumption Euler equation will actually be the same as in the standard model without habits. Consumption growth is therefore not affected by habits when o = 1. When o > 1, this is no longer true and lags and leads of consumption affect the marginal utility of consumption and also enter the Euler equation. Consequently, when o > 1 habit persistence is likely to have a much larger effect on the dynamics (persistence) of consumption. c) Explain how you would solve this model using Value Function Iteration. Briefly mention any additional challenges that are specific to this model and how you might deal with them. For simplicity, assume labor supply is inelastic.c) Assume o = 1. Using guess and verify, find the policy functions for investment, consumption, hours worked and output and show that these are independent of C- (Hints: Guess that consumption and investment are a constant share of output. You will also find it easier to combine various equilibrium conditions from part (a) before applying the guess and verify method). How, and why, do TFP shocks affect output, consumption, investment and hours worked in this model?A recursive competitive equilibrium is a value function V(C;-1, At, Z,, S,) decision rules Ki+1 = k(CI-1, Kt, Zt. S,), a = c(Ci-1, Ki, Zu, S,), a law of motion for the aggre- gate capital stock, K:+1 = g (Zt, S,), a law of motion for the stock of habits (H(+1 = Ci), and prices { w (Z, S,) . * (Z,S,) } Such that . Given the pricing functions and the law of motion for capital, the value function and decision rules solve the households problem (the allocation satisfies all the first order conditions) The firms optimality conditions are satisfied . All markets clear: K, = K; = Ke N! = N; = N Y = G+h and the law of motion for the individual endogenous state variables is consistent with the law of motion for the aggregate endogenous state variables (rational expectations): S (Z, S,) = s (CL-1, Ki, Z,, S.) c) Assume o = 1. Using guess and verify, find the policy functions for investment, consumption, hours worked and output and show that these are independent of C-1 (Hints: Guess that consumption and investment are a constant share of output. You will also find it easier to combine various equilibrium conditions from part (a) before applying the guess and verify method). How, and why, do TFP shocks affect output, consumption, investment and hours worked in this model?a) Write down the household's problem in recursive form and write down the firm's maximization problem. Derive the household's first order conditions and the firm's optimal hiring rules. b) Carefully define a recursive competitive equilibrium.Question 3 (20 points) Consider the following decentralized real business cycle model. The representative household has preferences over consumption and leisure. Expected lifetime utility is: 1 -0 1 + n (1) where C is consumption and / is hours worked. These preferences include a form of habit formation and the "habit stock", H,, is simply equal to consumption in ( - 1: He = Co-1. h governs the importance of habits and 0 Sh