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

  Differences in innovations between genders

Research paper on why women produce less patents then men, the differences in innovations between genders.

  What type of application architecture they use

Fred Jones, a distant relative of yours and president of Deals-R-Us Brokers (DRUB), has come to you for advice. DRUB is a small brokerage house that enables its clients to buy and sell stocks over the Internet, as well as place traditional orders by ..

  What is meant by the term model minority

What is meant by the term "model minority?" Based upon the evidence on both sides of the issue, argue for a position as to whether this term applies to Asian-Americans.

  Discuss how europeans reacted to the plague

What was the Black Death? Why is it difficult for historians to understand the Great Plague? Using examples from one of his chapters, discuss how Europeans reacted to the plague and what impact it had on their society.

  Write a paper about the mozart effect

Write a paper about The Mozart Effect

  What are the arguments for using a neighborhood analysis

What are the arguments for using a neighborhood analysis approach for AML-ALL class predication? Indicate if you agree or disagree with their approach.

  Reliability and validity of the data collection tool

Discuss why you need to be aware of the reliability and validity of the data collection tool that you are using in quantitative research project.

  Approximation of infiltration capacity curve

Given the following straight line approximation of infiltration capacity curve and a rain pattern lasting 4 hours. Determine: a) The total runoff in cm.

  How does modernization manifest itself in us society use

write a 1050- to 1750-word paper addressing the following questionsmiddot how does modernization manifest

  How is the product transported to market

what resources are used in making this product? Are environmental or human rights issues involved? are workers paid fairly and justly compensated? how is the product transported to market?

  Explain the concept behind the installation

Identify the theme for your installation and explain the concept behind the installation. Create a title for your installation

  Compare each school to the others from the region

Compare each school to the others from the region

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