# R data Hack

##
Description

## Having Trouble Meeting Your Deadline?

Get your assignment on** R data Hack ** completed on time. avoid delay and – **ORDER NOW**

**Problem #1. (15 pts)**

Use the Carseats data set from the package ISLR, do the following:

1.1. Get familiar with the data set. How many variables does the data set have? What is the class of the variable Urban? (3 pt)

1.2. Add a new column Sales.ratio which is the ratio of Sales v.s. Population in each region, to the data set, call the new data set Carseats_new. (4 pts)

1.3. Get a subset of Carseats_new that contains the data for Urban regions only and call it Carseats_urban. (4 pts)

1.4. Find the information for the top 10 Urban regions in terms of Sales.ratio. (4 pts)

**Problem #2. (12 pts)**

Download and import the csv file R_Data_Hack_Problem2 from Canvas under **Module R Data Hack** and rename it as testdata. Can you reject the hypothesis that the mean of Fertility Rate in 1960 is greater than in 2013 based on 98% confidence interval? Explain your rationale. (6 pts) Is it appropriate to use t test for this problem and why? (2 pts) Can you assume equal variance for the two groups? (2 pts) Clearly state your H0 and H1. (2 pt)

**Problem #3. (10 pts)**

The data set “R_Data_Hack_Problem3” under **Module R Data Hack** includes 10 subgroups and each subgroup has 20 measurements. Use the data set to do the following:

3.1. Set up X-Bar and R charts on this process. Is this process in statistical control? (5 pts)

3.2. If specifications are at [1.5, 3], what can you say about process capability? (5 pts)

**Problem #4. (13 pts)**

The data set “R_Data_Hack_Problem4” under **Module R Data Hack** includes **daily sales data** of a superstore from **Jan 15**, 2023. Use the data set to do the following:

4.1. Add time stamp to the dataset and name it myts which is a daily time series data, starting from Jan 15, 2023. (2 pts)

4.2. Using Average method and Drift method to forecast demand for the next 7 days from the last date of the dataset. (3 pts)

4.3. Get a plot with the predicted sales from the two models, add a legend. (3 pts)

4.4. Get the error measures of the two forecast models using 80/20 rule (namely 80% of the data to train forecast models and 20% data as the test set to check accuracy) and compare them; Which method looks more promising? Explain your rationale. (5 pts)

**Explanation & Answer**

Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Order Now and we will direct you to our Order Page at Litessays. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.

Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.