Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You are required to use R for this exercise. In particular, you must use the following libraries: tidyverse and WDI , both of which are

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed
  1. You are required to use R for this exercise. In particular, you must use the following libraries: tidyverse and WDI, both of which are introduced and discussed as part of the pre-recorded lectures.
    1. Put together a data frame using the WDI function, which is part of the WDI library. Call your data frame: df. For this data frame, the country should be set as the US. And the indicators should include:
  • FP.CPI.TOTL.ZG (Inflation, consumer prices (annual %))
  • NY.GDP.MKTP.KD.ZG (GDP growth (annual %))
  • FM.LBL.BMNY.ZG (Broad money growth (annual %))
  • NE.GDI.FTOT.KD.ZG (Gross fixed capital formation (annual % growth))
    1. Rename variable FP.CPI.TOTL.ZG as: inflation. Copy and paste the code below.

The starting year must be set at 1973, and the end year must be set at 2019.

Copy and paste below the line of code by which you put together the above data frame .

  1. Rename variable NY.GDP.MKTP.KD.ZG as: gdp_growth. Copy and paste the code below.
  2. Rename variable FM.LBL.BMNY.ZG as: money_growth. Copy and paste the code below.
  3. Rename variable NE.GDI.FTOT.KD.ZG as: inv_growth. Copy and paste the code below.
  4. Estimate the parameters of the population regression function below:

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed
inflation = a + 6, x gap_growth + 6, x money_growth + 6, x inv_growth +s\fil

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Income Tax Fundamentals 2013

Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill

31st Edition

1111972516, 978-1285586618, 1285586611, 978-1285613109, 978-1111972516

More Books

Students also viewed these Mathematics questions

Question

Using elasticity, explain what market power means.

Answered: 1 week ago

Question

Population

Answered: 1 week ago

Question

The feeling of boredom.

Answered: 1 week ago