logo Hurry, Grab up to 30% discount on the entire course
Order Now logo
1395 Times Downloaded

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Anthony BidiniBusiness
(5/5)

501 Answers

Hire Me
expert
Aarushi YadavEnglish
(5/5)

536 Answers

Hire Me
expert
Pierre BernierrBusiness
(5/5)

873 Answers

Hire Me
expert
Emily PersGeneral article writing
(5/5)

764 Answers

Hire Me
Others
(5/5)

this assignment, you are going to explore data from the convenience store retail giant NANSE.

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

In this assignment, you are going to explore data from the convenience store retail giant NANSE. NANSE owns over seven hundred small-form convenience stores throughout Canada. This dataset only includes sales from 2015 for food and beverage. It also excludes alcohol and tobacco. Each row represents the weekly average for one store for all of 2015. Thus, each row in the data represents the average weekly results for that one store for the whole year. You are going to use EDA to investigate different features of these data.

Instructions

ETL Tasks:

1. Import the `store_3HE.csv` as dataframe df. Learn about the data from the data description file.

2. (0.5 points) Familiarize yourself with the features of the data by using the `str()`, `summary()`, `head()`, `tail()`, `slice_sample()`, `unique()`, and `n_distinct()` functions. Give a brief summary of what you learn (just two or three sentences).

Note - A few of these functions are from the package “dplyr”. Thus, load “dplyr” or the meta-package “tidyverse” into your RStudio notebook. The package “tidyverse” is used in each R notebook we will work with, so, you will see it often.

3. (0.5 points) Convert the values in the `revenue` column to a numeric data type.

4. (0.5 points) Delete rows that contain missing values in any of the columns.

Exploratory Data Analysis Tasks:

5. (1 point) We are interested in understanding what factors influence the revenue for an individual store. From dataframe df, create two dataframes df_low and df_high such that df_low contains data on all the stores with revenue less than the average revenue for the complete data and df_high contains data on all the stores with revenue equal or greater than the average revenue for the complete data. Calculate the average size of the stores in the two dataframes (df_lows and df_high) and comment on the relationship between revenue and size of the stores by discussing the two means (just one or two sentences).

6. (1.5 points) Report and comment on the correlation between revenue and size. First, calculate the correlation between revenue and size in the main dataframe. Next, using the `ggplot()` function, plot the relationship between the revenue and size using an appropriate chart. Finally, discuss in one or two sentences.

7. (1.5 points) Create boxplots of revenue for each region and comment on the distribution of revenue within each region (in one or two sentences).

8. (1.5 points) Calculate the correlation between the revenue and promo_units and comment on whether the value aligns with your expectation. Based on this value of correlation, can you conclude that selling units on promotion helps in increasing revenue? Please explain your reason for the conclusion in a few sentences.

9. (1.5 points) Create a bar chart that shows total gross_profit for each province. Comment on a few findings from the chart in one or two sentences.

10. (1.5 points) Create a correlation matrix for showing correlations among the average store sales for all product categories. Which two product categories sell together the least and which sell together the most?

(5/5)
Attachments:

Expert's Answer

1395 Times Downloaded

Related Questions

. The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java

CS 340 Milestone One Guidelines and Rubric  Overview: For this assignment, you will implement the fundamental operations of create, read, update,

. Develop a program to emulate a purchase transaction at a retail store. This  program will have two classes, a LineItem class and a Transaction class

Retail Transaction Programming Project  Project Requirements:  Develop a program to emulate a purchase transaction at a retail store. This

. The following program contains five errors. Identify the errors and fix them

7COM1028   Secure Systems Programming   Referral Coursework: Secure

. Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

. The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer

CS 340 Final Project Guidelines and Rubric  Overview The final project will encompass developing a web service using a software stack and impleme