# Model: SI model of a closed economy # Model input Y-18000 # Output Cc-300 # Autonomous consumption Cy=0.8# Consumption slope Ic-3500 # Autonomous investment Ir=-400 # Investment slope G-3000 # Government spending TX-2500 # Taxes-Transfers I

ENGR.ECONOMIC ANALYSIS
14th Edition
ISBN:9780190931919
Author:NEWNAN
Publisher:NEWNAN
Chapter1: Making Economics Decisions
Section: Chapter Questions
Problem 1QTC
icon
Related questions
Question
100%
I need help on this using 1. Keynesian cross and IS-Lm model
Macro_SIClose_Example.Rx
Source on Save
24
25 # Print results
26 paste ("r
rø)
2
27 paste("10 = ", 10)
28
29
30
31
32
11
43
Go to file/function
# New input
Ic1-Ic-500 # Autonomous investment
33
34
35 #Model output
36
S1-Y-Cc-Cy*(Y-TX)-G # National savings
37 r1-(S1-Ic1)/(Ir) # Endogenous: Computer
38
I1=Ic1+Ir* (ro) # Other Endogenous: Investments
39
40
41
42
# Print results
paste("r1 = ", r1)
paste("I1 = ", I1)
44
45
46
47:1 #(Untitled):
# Question with the answer
# What is the impact on r and I, if there is a negative shock to investment by
Addins -
# Questions
# (a) What is the impact on r and I, if G increases by 500?
Console Terminal x Background Jobs x
RR 4.2.2-1
R version 4.2.2 (2022-10-31) -- "Innocent and Trusting"
Copyright (C) 2022 The R Foundation for Statistical Computing
Platform: x86_64-apple-darwin17.0 (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
-Run
Natural language support but running in an English locale.
R is a collaborative project with many contributors.
1
RStudio
tv
Source
1
R Script =
S
000000
Transcribed Image Text:Macro_SIClose_Example.Rx Source on Save 24 25 # Print results 26 paste ("r rø) 2 27 paste("10 = ", 10) 28 29 30 31 32 11 43 Go to file/function # New input Ic1-Ic-500 # Autonomous investment 33 34 35 #Model output 36 S1-Y-Cc-Cy*(Y-TX)-G # National savings 37 r1-(S1-Ic1)/(Ir) # Endogenous: Computer 38 I1=Ic1+Ir* (ro) # Other Endogenous: Investments 39 40 41 42 # Print results paste("r1 = ", r1) paste("I1 = ", I1) 44 45 46 47:1 #(Untitled): # Question with the answer # What is the impact on r and I, if there is a negative shock to investment by Addins - # Questions # (a) What is the impact on r and I, if G increases by 500? Console Terminal x Background Jobs x RR 4.2.2-1 R version 4.2.2 (2022-10-31) -- "Innocent and Trusting" Copyright (C) 2022 The R Foundation for Statistical Computing Platform: x86_64-apple-darwin17.0 (64-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. -Run Natural language support but running in an English locale. R is a collaborative project with many contributors. 1 RStudio tv Source 1 R Script = S 000000
8
9-
Macro_SIClose_Example.Rx
10
11
12
13
14
15
20
22
View
23
24
Source on Save
############################
#Model: SI model of a closed economy
#Model input
Y=18000 # Output
Cc-300 # Autonomous consumption
Cy=0.8 # Consumption slope
Ic-3500 # Autonomous
Ir=-400 # Investment slope
G-3000 # Government spending
TX-2500 # Taxes-Transfers
Zoom
25
# Print results
26 paste("r0 = ", r0)
27
paste("10 ", 10)
28
29
30
47:1
Go to file/function
investment
16
17
18
19
20
#Model output
21 SO-Y-CC-Cy*(Y-TX)-G # Other Exogenous: National savings
ro-(S0-Ic)/(Ir) # Endogenous: Computer
10-Ic+Ir* (r0) # Other Endogenous: Investments
# Question with the answer
•
#(Untitled) #
Console Terminal x Background Jobs x
R R 4.2.2
I
00
T
- Addins -
R version 4.2.2 (2022-10-31) -- "Innocent and Trusting"
Copyright (C) 2022 The R Foundation for Statistical Computing
Platform: x86_64-apple-darwin17.0 (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
Natural language support but running in an English locale
R is a collaborative project with many contributors.
MAY
1
-Run 54
tv
RStudio
Source
▾
R Script =
E
F
DOWN
0000000000
6
Transcribed Image Text:8 9- Macro_SIClose_Example.Rx 10 11 12 13 14 15 20 22 View 23 24 Source on Save ############################ #Model: SI model of a closed economy #Model input Y=18000 # Output Cc-300 # Autonomous consumption Cy=0.8 # Consumption slope Ic-3500 # Autonomous Ir=-400 # Investment slope G-3000 # Government spending TX-2500 # Taxes-Transfers Zoom 25 # Print results 26 paste("r0 = ", r0) 27 paste("10 ", 10) 28 29 30 47:1 Go to file/function investment 16 17 18 19 20 #Model output 21 SO-Y-CC-Cy*(Y-TX)-G # Other Exogenous: National savings ro-(S0-Ic)/(Ir) # Endogenous: Computer 10-Ic+Ir* (r0) # Other Endogenous: Investments # Question with the answer • #(Untitled) # Console Terminal x Background Jobs x R R 4.2.2 I 00 T - Addins - R version 4.2.2 (2022-10-31) -- "Innocent and Trusting" Copyright (C) 2022 The R Foundation for Statistical Computing Platform: x86_64-apple-darwin17.0 (64-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. Natural language support but running in an English locale R is a collaborative project with many contributors. MAY 1 -Run 54 tv RStudio Source ▾ R Script = E F DOWN 0000000000 6
Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Econometric Model
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, economics and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
ENGR.ECONOMIC ANALYSIS
ENGR.ECONOMIC ANALYSIS
Economics
ISBN:
9780190931919
Author:
NEWNAN
Publisher:
Oxford University Press
Principles of Economics (12th Edition)
Principles of Economics (12th Edition)
Economics
ISBN:
9780134078779
Author:
Karl E. Case, Ray C. Fair, Sharon E. Oster
Publisher:
PEARSON
Engineering Economy (17th Edition)
Engineering Economy (17th Edition)
Economics
ISBN:
9780134870069
Author:
William G. Sullivan, Elin M. Wicks, C. Patrick Koelling
Publisher:
PEARSON
Principles of Economics (MindTap Course List)
Principles of Economics (MindTap Course List)
Economics
ISBN:
9781305585126
Author:
N. Gregory Mankiw
Publisher:
Cengage Learning
Managerial Economics: A Problem Solving Approach
Managerial Economics: A Problem Solving Approach
Economics
ISBN:
9781337106665
Author:
Luke M. Froeb, Brian T. McCann, Michael R. Ward, Mike Shor
Publisher:
Cengage Learning
Managerial Economics & Business Strategy (Mcgraw-…
Managerial Economics & Business Strategy (Mcgraw-…
Economics
ISBN:
9781259290619
Author:
Michael Baye, Jeff Prince
Publisher:
McGraw-Hill Education