Create an object that merges all the files into one object

Assignment Help Basic Statistics
Reference no: EM132391547

Assignment

Overview

It is time to start getting familiar with R! Remember the 17 years of Ontario library data from assignment 1? Well now it's time to start analyzing it! Data Scientists very rarely interact with data that is in a clean and perfect format. One of the most under rated steps in the analytics process is the data prep step! The data you interact with is almost never in a structure that will allow you to analyze it. In this assignment you will get to roll your sleeves up and start to see the power of R!

Purpose

This assessment is designed to get you to start thinking about data structures and coding in R. You will get an introduction to some of the most common tasks Data Scientists have to perform before any analysis can be done such as gathering data, joins, column consolidation and creating new data! In this assessment you will achieve the following course learning outcomes:

• Apply sound principles and practices of data manipulation, validation, and transformation leveraging R programming

• Program at a basic level using R programming language

• Explore data analysis techniques such as correlation, scatter plots, crosstab analysis, distribution of data, and outlier analysis

Instructions

You will be required to submit your R code so the instructor can reproduce all your output starting from the data import step (Assume that I will have downloaded the Libraries data sets on my own machine).

1. Import all the datasets in R and save them in separate objects.

2. Create an object that merges all the files into one object. This is a tip in how to be efficient with your data - instead of having 17 separate objects, why not store them into 1 object?

3. Write a sequence of code which will create a single data set that can be used to output a table that lists the number of libraries in each city for the last 17 years.


1999

2000

2001

2002

2003

2004

...

City1








City2








City3








City4








...








4. Write a sequence of code that shows the total number of active cardholders for each library for the last 17 years


1999

2000

2001

2002

2003

2004

...

Library1








Library2








Library3








Library4








...








5. Write a sequence of code that lists the top 5 libraries with the highest average Total Operating Revenues from 2012-2017.

6. Submit your full R code ensuring the professor is able to produce all your output. Include comment lines throughout your code describing what the blocks of code are for.

Reference no: EM132391547

Questions Cloud

Percentage of the measurements : What percentage of the measurements are between 3.510 and 3.520? Show the answer to two decimal places.
Compute the sample mean-median and range of the data : You and your friends are on a weekend fishing trip, and altogether you are able to catch 20 fish. You weigh each fish and record their weight in pounds.
What sample size is necessry for you : What sample size is necessry for you to be 95% confident that the average mean will be within 20 of the actual mean?
Develop an effect size measure : Vehicles heading west on Front Street may turn right, turn left, or go straight ahead at Elm Street. The city traffic engineer believes that half of the vehicle
Create an object that merges all the files into one object : Create an object that merges all the files into one object. This is a tip in how to be efficient with your data - instead of having 17 separate objects.
Determine the quartiles and the interquartile range : In a study of the lizard Sceloporus occidentalis, biologists measured the distance (m) run in two minutes for each of 15 animals.
What is the standard deviation of random variable : The number of defective lipsticks per batch is a random variable with mean 14.09. What is the standard deviation of this random variable, and how do you know?
Statement about the normal probability distribution : Select all the true statement about the normal probability distribution.
Financial information for atlas : Consider the following financial information for Atlas awesome Manufacturing Inc. and Delilah superior Manufacturing Inc. both companies

Reviews

Write a Review

Basic Statistics Questions & Answers

  Statistics-probability assignment

MATH1550H: Assignment:  Question:  A word is selected at random from the following poem of Persian poet and mathematician Omar Khayyam (1048-1131), translated by English poet Edward Fitzgerald (1808-1883). Find the expected value of the length of th..

  What is the least number

MATH1550H: Assignment:  Question:     what is the least number of applicants that should be interviewed so as to have at least 50% chance of finding one such secretary?

  Determine the value of k

MATH1550H: Assignment:  Question:     Experience shows that X, the number of customers entering a post office during any period of time t, is a random variable the probability mass function of which is of the form

  What is the probability

MATH1550H: Assignment:Questions: (Genetics) What is the probability that at most two of the offspring are aa?

  Binomial distributions

MATH1550H: Assignment:  Questions:  Let’s assume the department of Mathematics of Trent University has 11 faculty members. For i = 0; 1; 2; 3; find pi, the probability that i of them were born on Canada Day using the binomial distributions.

  Caselet on mcdonald’s vs. burger king - waiting time

Caselet on McDonald’s vs. Burger King - Waiting time

  Generate descriptive statistics

Generate descriptive statistics. Create a stem-and-leaf plot of the data and box plot of the data.

  Sampling variability and standard error

Problems on Sampling Variability and Standard Error and Confidence Intervals

  Estimate the population mean

Estimate the population mean

  Conduct a marketing experiment

Conduct a marketing experiment in which students are to taste one of two different brands of soft drink

  Find out the probability

Find out the probability

  Linear programming models

LINEAR PROGRAMMING MODELS

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