-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcourse_project.py
More file actions
73 lines (40 loc) · 1.58 KB
/
course_project.py
File metadata and controls
73 lines (40 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# -*- coding: utf-8 -*-
"""Course-Project.ipynb
Automatically generated by Colaboratory.
Original file is located at
https://colab.research.google.com/drive/1K70rbg8fxtCg1pfpePJ512SzLbDmlLlc
# Summer 2022 Python for Econ Students Course Project
## Student Name
## نام دانشجو
## Read data
You have to read the data from an excel file.
The excel file can be found here:
https://dl.dropboxusercontent.com/s/xsywvv5p5p8k9kq/MB_Data.xlsx
variable:
MB: Monetary Base
MB_gr: Monetary Base Growth
Expansion: Dummy variabel that is 1 in expansion periods and 0 in recession periods
Recession: Dummy variabel that is 1 in recession periods and 0 in expansion periods
NonOilGDP: Real Non-oil GDP of Iran
NonOilGDPCycle: Deviations of NonOilGDP from it's trends
"""
"""## Preview data
Show a part of data
"""
"""## Slice data
Keep only rows that include data on Expansion and Recession
"""
"""## Plot data
Plot time series data of monetary base growth.
Add additional background bars that show recession periods.
"""
"""plot the time series data for recession and expansion period in different colors"""
"""## Average Growth of monetary base
The given growth rate is quarterly growth rate
* Calculate and report the average quarterly growth rate
* Calculate and report the average annual growth rate _(note that it's not 4*quarterly rate!)_
"""
"""## Calculate means in expansions and recessions
"""
"""## Test the equality of means of monetary base growth in recession and expansions """
"""##Test the equality of variances of monetary base growth in recessions and expansions"""