Neil Patel and John Dunbar
HW #2
10/12/2015
Part A)
AM.Model (0.5, 1.0) :
1.0
1.5
real GDP
2.0
2.5
Business Cycles
5
10
Period
15
Neil Patel and John Dunbar
HW #2
10/12/2015
AM.Model (0.5, 1.2) :
2.0
1.0
1.5
real GD P
2.5
Business Cycles
5
10
15
Period
As
Neil Patel
Homework #1
9/22/2015
a) What is the dimension of the data file? How do you describe each number? (10 pts)
A 4-dimensional array resulting from cross-tabulating 2201 observations on 4 variables. The
description of the numbers 1 through 4 are ba
Q1. Which of the following policies would a Keynesian expect to produce the largest increase in
income? Please explain.
a. A tax cut of $200.
b. An increase in government spending of $200.
c. A "balanced budget" (i.e., G = T) increase in government spendi
> getSymbols("P", src = "yahoo")
As of 0.4-0, getSymbols uses env=parent.frame() and
auto.assign=TRUE by default.
This behavior will be phased out in 0.5-0 when the call will
default to use auto.assign=FALSE. getOption("getSymbols.env") and
getOptions("ge
Neil Patel and John Dunbar
Homework 2
10/5/2015
Part I: Conceptual Questions (70%)
1 Which policy would a Keynesian expect to produce the largest increase in income? Explain.
A An increase in government spending of $200.
i.
This is because a Keynesian eco
Question 1)
A)
Estimate of Beta utilizing equation (1): 2.847034
Estimate of Alpha utilizing equation (2): 13.37443
Beta Hat can be interpreted by the graph above. Once a distribution is obtained, along with the
corresponding p value, Beta hat can be comp
Neil Patel
Take Home Test
10/13/2015
Question 1: Parts A and B)
#Acceleration-Multiplier Business Cycles Model
AM.Model = function(alpha, beta, delta)cfw_
C = rep(0, 18)
I = rep(0, 18)
G = rep(1, 18)
Y = rep(0, 18)
NX = rep(0,18)
Y[1] = C[1] + I[1] + G[1]