r project案例 | Statistical analysis of economic gro
当前位置:以往案例 > >r project案例 | Statistical analysis of economic gro
2020-02-12

r project案例 Economic growth is commonly defined as an increase in the output that an economy produces over a period of time, usually a year.

MAS6004/6062 S1 Project

Statistical analysis of economic growth

Background


Economic growth is commonly defined as an increase in the output that an economy produces over a period of time, usually a year. The most widespread measure of output is gross national product (GDP). Economic growth is one of the key drivers in public and private decision making: public policies such as wages, interest rates and spending are geared towards increasing GDP growth, while private investment strategies usually depend on the long term growth rate.

The econometrics literature suggests that,

r project案例r project案例
yt D ˛ C ˇyt—1 C “t ; (1)

is a simple but still suitable model for economic growth. Here yt is the growth rate at time t , “t is an idiosyncratic error term, assumed to be Gaussian with zero mean and precision h; ˇ is the effect of last period’s growth and ˛ is related to the long term growth rate. A common assumption in the econometrics literature is that this is a stationary process, i.e. that jˇj < 1 and if this is the case then the long term or steady state growth rate is p D ˛=.1 — ˇ/.



Data and Statistical analysis

The file (WB_PCGR.RData) contains the annual per-capita GDP growth rates of 264 countries  and  regions obtained from the world bank http://data.worldbank.org/indicator/NY.GDP.PCAP.KD.ZG/; it can be downloaded from the MOLE webpage along with the spreadsheet CountryCodes with the codes for the regions/countries. Your task is to select two different countries or regions and carry out the following statistical analysis of their economic growth.



You should fit model (1) using two differentpriors:
Weimpose stationarity by using a re-scaled Beta distribution —to .—1; 1/— with parameters
.2; 2/, as a prior for the AR(1) slope, ˇ,



.ˇ/ / 1 — ˇ2 ; —1 < ˇ < 1 :

This is coded in the routine AR1_stationary.R.

Ifstationarity is not imposed, assume .ˇ/ =N ˇ mˇ; 1=pˇ . This is coded in the routine
AR1_nonstat.R.

in both cases the priors for the other two parameters are



.˛/ D N.˛ j m˛; 1=p˛/ and .h/ D Ga.h j a; b/ :

You should elicit values for fm˛; p˛; a; bg in both models and additionally for mˇ; pˇ for the non-stationary case. Provide a careful explanation of your parameter selection.



You should carry out informal checks for convergence by selecting different starting points and length of chains.

After talking to my economic consultant, my elicited prior parametersare
fm˛; p˛; a; bg D ˚0:02; 0:12; 2; 0:6Σ and ˚mˇ; pˇΣ D f0; 1g

Describe the differences between your and my posterior distributions for f˛; ˇ; hg.

The model may be simplified if the data suggest that the slope is close to One possible measure of model fit can then be the posteriorodds,
O PŒjˇj < 0:01 j y] : 1 — PŒjˇj < 0:01 j y]

For each country you selected, calculate O from each prior specification and use it to decide if the data provides evidence in favour of a non-zero slope.

You are asked to provide advice to the CEO of a large company which is considering investing in the countries you She has two possibledecisions:


d1i :   Invest in country i d2i : Do not invest in country i


After elicitation, her preferences, based on the long term growth rate, are described by




L.d1

0 p > 1:5%

2

4 p ≤ 1:5%

; ˛; ˇ/ D 1 p > 1:5%

0 p ≤ 1:5%





where p D ˛=.1 — ˇ/ is the long term growth rate. Otherwise, she will invest on the country with the best economic perspective, i.e. the one that will increase its growth more rapidly. As part of your submission, prepare a short executive report advising the CEO on her optimal strategy.



Use MOLE to submit your work as a PDF file. Submission deadline is 5 February 2019 12pm. Your file name must be of the form 123456789_BayesProject.pdf where 123456789 is your student ID number. Marks will be deducted if the file is submitted otherwise.

There is no specific page limit,  but you  should give some thought to which material is  in the main text and which is in appendices, if any. Also, if you include trace plots of very long runs, please thin the output to ensure that the size of your PDF file is not excessive.

在线提交订单