logo Hurry, Grab up to 30% discount on the entire course
Order Now logo

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Nathaniel KellyComputer science
(5/5)

708 Answers

Hire Me
expert
Mehak ChaudharyFinance
(5/5)

705 Answers

Hire Me
expert
Priyanka TanwarCriminology
(5/5)

889 Answers

Hire Me
expert
Dawn FrenchComputer science
(4/5)

700 Answers

Hire Me
Python Programming

Consider the following macroeconomic model for real business cycles taken from Dejong and Dave

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

Problem set 4

Linear algebra

1.     Real business cycles:

Consider the following macroeconomic model for real business cycles taken from Dejong and Dave (2011) Chapter 3:

Suppose that we have a representative household whose goal is to maximize their utility from consumption and leisure over time:

U = E0     β  u(ct, lt)

t=0

where E0 is the expected value at time 0, β is a parameter reflecting the household’s discount rate (time preferences), ct is the household’s consumption at time t, and lt is the household’s leisure time at time t.

For this problem to work, we have to introduce four constraints. The first constraint is that the household produces goods using a Cobb-Douglas production function. That is,

yt = ztkαn1−α

t   t

where yt represents the GDP at time t, zt represents and exogenous (i.e., cannot be optimized or changed) technology stock at time t, kt represents the gross capital stock at time t, and nt represents the amount of labor supplied at time t. The second constraint is that total time spent working and at leisure should add to some fixed constant. Without loss of generality we can define the total to be one (1):

1 = nt + lt

The third constraint is that GDP can be spent in two ways: consuming and investing in future capital:

yt = ct + it

where it is the amount of investment at time t.

kt = it + (1 − δ)kt

The last thing we need to define to make the problem solvable is the utility function. For this we are going to use a constant elasticity of substitution (CES) form. That is,

u(c, l) =1 − ρ

where rho and phi are parameters representing the trade off between happiness from consuming versus leisure in the model.

Your job is solve this consumer’s problem using calculus by maximizing the total utility subject to the constraints defined above. In the end, you should obtain two equations. The first equation will reveal the consumer’s inner-temporal choice between consumption and leisure. The second equation will reveal the consumer’s intertemporal choice between consuming today and consuming tomorrow. If you are struggling, the answer is in Dejong and Dave (2011) Chapter 3.

Programming

2.    Ridge regression:

Write some code which performs L2 regularization. That is, solve OLS with a constraint that the L2 norm of the betas is less than some threshold value.

Related Questions

. The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java

CS 340 Milestone One Guidelines and Rubric  Overview: For this assignment, you will implement the fundamental operations of create, read, update,

. Develop a program to emulate a purchase transaction at a retail store. This  program will have two classes, a LineItem class and a Transaction class

Retail Transaction Programming Project  Project Requirements:  Develop a program to emulate a purchase transaction at a retail store. This

. The following program contains five errors. Identify the errors and fix them

7COM1028   Secure Systems Programming   Referral Coursework: Secure

. Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

. The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer

CS 340 Final Project Guidelines and Rubric  Overview The final project will encompass developing a web service using a software stack and impleme