讲解:STATA、Python,c/c++、Java、HubDatabase|Haskell

Graded Assignment Please submit all answers in one word document. Where appropriate copy and pasteSTATA output and code into this document.Please submit your answers online via the Hub before 12:00 on Friday, September 29,2017.Question 1 (20 points)Consider the file brlongmerge.dta. It contains various statistics at the level of 380 regionalauthorities of the UK over 10 years. The variable regid is a unique regional identifier.(a) The variable domCO2Opop contains the domestic CO2 emissions (i.e. emissions ofhouseholds) per person (per capita) living in an area. Compute the growth rate of percapita emissions between 2010 and 2015, for each area (Recall that regid is the areaidentifier). Draw a histogram of this growth rate across areas. How much didemissions grow in the area with the smallest per capita emissions growth between2010 and 2015?Explain which STATA commands you used to answer these questions and try to be asefficient as possible (i.e. the less commands you use the better)[6 points](b) The variable pct_leave contains the percentage of votes for leaving the EU in thereferendum on June 23, 2016. What is the relationship between per capita CO2growth between 2010 and 2015 and support for Brexit? (hint: consider CO2 growth asdependent variable)[6 points](c) Consider two areas (Brexton and Remainster) whose per capita pollution is equal to 2in 2010. Support for leave was 60% in Brexton and 40% in Remainster. What do youexpect the percentage difference in per capita emissions between Brexton andRemainster to be in 2015?[8 points]Question 2 (20 points)Continue using the dataset brlongmerge.dta from Question 1.The variable urate is the local area unemployment rate in percent. domCO2Opop is theamount of CO2 emissions in tons) per person living in an area. The variable regid is a uniqueregional identifier.(a) Regress domestic per capita emissions (domCO2Opop) on the unemployment rate(urate). Report the regression result. Can you motivate the causal relationship impliedby the regression? [4 points](b) Assuming that two areas differ in their unemployment rate by 10 percentage points.How big a gap in per capita emissions do you expect between the two areas based onthe regression above? [4 points](c) A colleague suggests using year controls in the regression from a). Implement thisand report the results? . Explain if and why this might provide a better estimate of theeffect of unemployment on CO2 emissions. [4 points](d) Explain why the regression in c) might or might not contain include a dummyrepresenting the year 2015 as regressor. If you have not already done so, Provide aninterpretation of the coefficient associated with the 2015 time dummy variable in theregression above. [4 points](e) Can you propose and motivate a further modification to the regression approach in c)that does not involve adding any further variables to the regression but will make acausal interpretation of the unemployment coefficient more plausible? Can youimplement this? Report and discuss the results. [4 points]Question 3 (20 points)The table above is from a study on the effect of government support for disadvantaged areas(wards) in the UK on employment. The policy consists of subsidies for firms investing inthose areas. The policy is variable the maximum amount of support firms can get in aparticular area, the maximum investment subsidy or NGE.1 This can go from 0 to 0.35; i.e. afirm investing £100K will get £35K from the government. The columns of the table refer todifferent regressions related to this policy. The regressions are reported in terms ofdifferences between 2003 and 1997; e.g. the first regression in column 1 reports a simpleOLS regression of the form 1 NGE stands for net grant equivalent.where � indexes an area.(a) Based on the OLS regression, what would be the growth of employment in an areawhere between 1997 and 2003 NGE increased from 0 to 0.1 (i.e. 10% of investmentfirms undertake代做STATA、代写Python,c/c++编程语言、代做J will be paid for by government)? [5 points](b) What concerns – if any – would you have with the result above? [5 points](c) The researchers claim to have an instrumental variable for the policy variable,referred to as “Policy Rule Instrument” above. What are the requirements of aninstrumental variable? What can you say (and what not) about the quality of theresearchers’ instrumental variable on the basis of the regression table above? [5points](d) Assuming the instrumental variable strategy of the researchers is sound, what do youconsider to be the most correct estimate of the impact of 10% increase onemployment growth based on the table above? [5 points]Question 4 [20 points]The following is an OLS regression result from a study on civil conflicts in African countries:The dependent variable here is a dummy variable that is equal to 1 if a conflict occurs in agiven country that leads to more than 25 deaths per year. The explanatory variables are theannual growth of rainfall in the current (i.e. t) and in the previous year (i.e. t-1).a) What does the regression suggest is the impact of an increase in rainfall growth of1 percentage point on the likelihood of civil conflict? [4 points]b) What could be the reason for the observed relationship? [4 points]c) Do you think this is a good estimate of the causal impact of rainfall growth onconflict. Explain your answer. [4 points]d) The main interest of the study is the effect of economic growth on conflict. Oneapproach could be to simply regress conflict on economic growth; i.e. run aregression of the form:Discuss the merits of this approach. [4 points]e) The authors of the study propose to use growth in rainfall as an instrument foreconomic growth. Do you think this is a sensible approach? Explain your answer.[4 points]Question 5 [20 points]Consider the dataset proddata_clean.dta which contains data for a selection of Europeanregions (at the so called nuts2 level; for more details seehttp://ec.europa.eu/eurostat/web/nuts) of regional (gross) value added (gva), capital stock andemployment. For each region we have data from 2000 to 2012. Productivity of regions orcountries is often measured by looking at the value added per employed person (gva/emp).However, this does not take into account how much capital is being used in the productionprocess. Economists therefore prefer to use production functions where gva is modelled as afunction of employment (L) and capital (K)In terms of assessing productivity economists will subsequently look at what they call totalfactor productivity (TFP) represented by the letter A in the formula above.Note: regions are uniquely identified by a numeric identifier (regid) or by the string identifiernuts2. The variable country reports which country a region belongs to using 2 letter countryMore details on those under: http://ec.europa.eu/eurostat/statisticsexplained/index.php/Glossary:Country_codes(a) Suggest and discuss an approach to estimate the function above. Try to deal as muchas you can with potential endogeneity issues. Implement this approach and report theresult estimates for the parameters in the function.[4 points](b) Would you say it is reasonable to maintain the hypothesis that the production functionhas constant returns to scale; i.e.Explain your answer.[4 points](c) Based on your estimate, compute for all regions and years the level of TFP (i.e. A) inthe function above. Explain what you are doing.[4 points](d) For 2012 only examine which country had the lowest (and highest) averageemployment weighted GVA per capita across regions? Which country had the lowest(and highest) average employment weighted TFP level? Explain your calculations.[4 points](e) For 2012 only, which country had the highest ratio in the GDP per capita between themost and the least productive region; i.e. in which country was the biggest inequalitybetween regions in terms of GDP per capita. Compute the same result for TFP.[4 points]转自:http://www.3daixie.com/contents/11/3444.html

©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 220,367评论 6 512
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 93,959评论 3 396
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 166,750评论 0 357
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 59,226评论 1 295
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 68,252评论 6 397
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 51,975评论 1 308
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 40,592评论 3 420
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 39,497评论 0 276
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 46,027评论 1 319
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 38,147评论 3 340
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 40,274评论 1 352
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 35,953评论 5 347
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 41,623评论 3 331
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 32,143评论 0 23
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 33,260评论 1 272
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 48,607评论 3 375
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 45,271评论 2 358

推荐阅读更多精彩内容