What is the average gdp ranking for the high income

Assignment Help Other Subject
Reference no: EM131301069

You can use either Latex (and SWeave) or RMarkdown for this assignment.

There are two, and only two deliverables.

1. A single *.Rnw file which will contain all the code used to obtain the data, make any need calculations and answer all questions.

2. A single pdf showing the answers to all questions. All knitr code chunks should be visible and each question should be numbered.

Q1. Find the 2015 Cricket World Cup venue with the largest capacity.

i. Use rvest to read in the Venues table.

ii. Show the name of the venue with the largest capacity.

iii. Include all code in a code chunk name q1

iv. Use \Sexpr or the equivalent for RMarkdown inline R code output to display the following sentence:

v. "The 2015 Cricket World Cup venue with the largest capacity was _."

vi. Insert the correct venue name in the blank

Q2. The American Community Survey distributes downloadable data about United States communities.

i. Download the 2006 microdata survey about housing for the state of Idaho using download.file() from here:

https://d396qusza40orc.cloudfront.net/getdata%2Fdata%2Fss06hid.csv

ii. and load the data into R. The code book, describing the variable names is here:

https://d396qusza40orc.cloudfront.net/getdata%2Fdata%2FPUMSDataDict06.pdf

iii. How many properties are worth $1,000,000 or more?

iv. Your answer should include all code needed to download the data and calculate the results in a knitr chunk named Q2.

v. The text of your answer should be, "The answer to Q2 is .

vi. The output should use \Sexpr or the equivalent for RMarkdown inline R code output to fill in the blank.

Q3. Load the Gross Domestic Product data for the 190 ranked countries in this data set:

https://d396qusza40orc.cloudfront.net/getdata%2Fdata%2FGDP.csv

i. What is the average GDP ranking for the "High income: OECD" and "High income: nonOECD" group?

You can see which countries are OECD and Non-OECD from this file:

https://d396qusza40orc.cloudfront.net/getdata%2Fdata%2FEDSTATS_Country.csv

ii. Your answer should include all code needed to download the data and calculate the results in a knitr chunk named Q3.

iii. The text of your answer should be, "The answer to Q3 is ."

iv. The output should use \Sexpr or the equivalent for RMarkdown inline R code output to fill in the 2 blanks.

Q4. Load the chinainet.csv data from Reggienet.

i. Create a bar chart showing the number of broadband users in China for the first and last years in the data set.

2000 is the first year with data.

ii. Your answer should include all code needed to download the data and display the bar chart in a knitr chunk named Q4.

It is not required, but I encourage you to use ggplot to create your bar chart.

Q5. Load the ncaa.txt data from ReggieNet. This is a list of tweets that contain @OhioStateFB or @UMichFootball.

i. Create a bar chart showing the number of tweets containing "@OhioStateFB" and the number containing "@UMichFootball".

iii. Your answer should include all code needed to download the data and display the bar chart in a knitr chunk named Q5.

It is not required, but I encourage you to use ggplot to create your bar chart.

Q6. Recreate the Percent of Primary Care Physicians Selecting Immunization Menu Measure without Exclusion bar chart:

https://dashboard.healthit.gov/quickstats/pages/FIG-Percent-Medicare-Eligible-Primary-Care-Physicians-Selecting-Immunization-Measure.php

Note: the data is just below the chart.

i. Your answer should include all code needed to download the data and display the bar chart in a knitr chunk named Q6.

It is not required, but I encourage you to use ggplot to create your bar chart.

Q7. High paying IT jobs

i. Obtain data from the BLS showing salaries for Computer and Mathematical Occupations:

https://www.bls.gov/oes/current/oes150000.htm

ii. Which Metropolitan area pays the highest for computer and mathematical occupations?

iii. Your answer should include all code needed to download the data and calculate the results in a knitr chunk named Q7.

iv. The text of your answer should be, "The answer to Q7 is "

v. The output should use \Sexpr or the equivalent for RMarkdown inline R code output to fill in the blank.

Q8. Internet users in Africa

There are two ways to answer this question. Please read all instructions before deciding which method you want to use.

First method: https://www.itk.ilstu.edu/faculty/jrwolf/q8.html

From the Bloomberg article above, answer the following questions:

Second method:

From the data file q8.csv on ReggieNet, answer the following questions:

i. How many internet users are there in Africa?

ii. What is the internet penetration rate for Africa?

iii. What is the internet penetration rate for the rest of the world?

iv. Your answer should include all code needed to download the data and calculate the results in a knitr chunk named Q8.

v. The text of your answer should be, "The answer to Q8 is ____%___%"

vi. The output should use \Sexpr or the equivalent for RMarkdown inline R code output to fill in the blanks.

Extra Credit.

You can use the quantmod package to get historical stock prices for publicly traded companies on the NASDAQ and NYSE.

i. Use the following code to download data on Amazon's stock price and get the times the data was sampled.

library(quantmod)
amzn = getSymbols("AMZN",auto.assign=FALSE) sampleTimes = index(amzn)

i. How many values were collected in 2012? How many values were collected on Mondays in 2012?

ii. Your answer should include all code needed to download the data and calulate the results in a knitr chunk named Q3.

iii. The text of your answer should be, "The answer to the extra credit is ___, ___.

iv. The output should use \Sexpr or the equivalent for RMarkdown inline R code output to fill in the 2 blanks.

Reference no: EM131301069

Questions Cloud

What is the reduced final payment to the nearest cent : A $20,000 loan is taken out May 1, 2005 and is to be repaid with 15 annual payments, with the first payment made May 1, 2006. The loan interest rate is 5% annual effective interest and the level annual payment is $2,000 for the first 14 payments. Wha..
Calculate the payment : $500 per quarter is deposited at the end of each quarter into a fund earning a nominal rate of 6% convertible quarterly for five years. The moment after the last payment is made, the balance of the fund is used to purchase a perpetuity immediate whic..
Compute the weighted average cost of capital : Speedy Delivery Systems can buy a piece of equipment that is anticipated to provide an 6 percent return and can be financed at 3 percent with debt. Compute the weighted average cost of capital. Which project(s) should be accepted? New machine or Piec..
Explain the cognitive processes of perception : Explain the cognitive processes of perception, attention and memory.Discuss how the cognitive processes of perception and attention might influence the accuracy of eyewitness memories.Outline some additional factors that might influence the accuracy ..
What is the average gdp ranking for the high income : IT497 Individual - What is the average GDP ranking for the "High income: OECD" and "High income: nonOECD" group - Create a bar chart showing the number of broadband users in China for the first and last years in the data set.
What is the role of risk in decision-making : What is the role of risk in decision-making?
What would you do if you realized that you had provide : Write a case study describing a client who has used the representative heuristic to make a decision, explaining the thought processes involved in making the decision. Discuss whether the representative heuristic led the client to a good or bad dec..
Complete an application of segmentation of the market : Then, you will complete an application of segmentation of the market for your fictional company. Think about behavioral, psychographic, demographic, and geographic criteria that might help you in segmenting the market.
Process to avoid or minimize the issues : How can this happen and how can organizations work early on in the process to avoid or minimize the issues?

Reviews

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd