﻿ r project代写 | Statistical analysis of economic growth | - R语言代写, 作业代写, 加急, 经济作业, 统计作业, 金融经济统计代写

# r project代写 | Statistical analysis of economic growth |

2019-09-29 10:01 星期日 所属： R语言代写 浏览：119

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,

yt  ˛ ˇyt1 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ˇ< 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.

1. You should fit model (1) using two differentpriors:
1. 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.

1. 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.˛ m˛; 1=p˛/ and  .h/ D Ga.h 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.

1. 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.

1. 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ˇ< 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.

1. 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.