Question
This exercise analyzes GDP per capita and the ratio of exports to GDP in the year 2016, with data taken from the World Banks Development
This exercise analyzes GDP per capita and the ratio of exports to GDP in the year 2016, with data taken from the World Banks Development Indicators (as of 2/25/2019).
Just need the lines code for each question
(i) Download the gdp_trade.csv file from eCampus. Load it in R using the read.csv() function, and assign the data frame to an object named gdp.
(ii) Run a regression of gdp _capita on export _ratio and store the results in an object named ols gdp.
(iii) Use the summary() function to display the results of your regression. How do you
interpret the coefficient on export ratio? Reminder: export ratio measures the percent- age of GDP which comes from exported goods and services.
(iii) Does the zero conditional mean assumption hold here? Why or why not?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started