Question: I need the R codes that leads to each part of question 40. 40. lI8=f Wait_Time. The manager of a small convenience store does not
I need the R codes that leads to each part of question 40.


40. lI8=f Wait_Time. The manager of a small convenience store does not want her customers standing in line for too long prior to a purchase. In particular, she is willing to hire an employee for another cash register if the average wait time of the customers is more than five minutes. The accompanying data file shows the wait time (Time in minutes) for 28 customers. a. Set up the null and the alternative hypotheses to determine if the manager needs to hire another employee. Answer Hot H5 b. Calculate the value of the test statistic and the p-value. What assumption regarding the population is necessary to implement this step? V Answer ty7 =1.287; p-value = 0.105. It is necessary to assume that the population is normally distributed. c. Decide whether the manager needs to hire another employee at a = 0.10. Because 0105 > 010, do not reject H,,. The average waiting time is not more than 5 minutes at the 10% level. myData x Environment History Connections Tutorial Filter | Import Dataset . 223 MiB . List * G . Time R - Global Environment - Q 1 3.5 Data N 5.8 myData 28 obs. of 1 variable W 7.2 A 1.9 5 6.8 6 8.1 5.4 8 4.5 Files Plots Packages Help Viewer Presentation 9 6.8 +New Folder + New Blank File - Upload * Delete Rename More 10 8.2 a Cloud > project R ... 11 2.9 Name Size Modified 12 7.8 0 .Rhistory O B Jul 26, 2024, 7:32 PM Showing 1 to 13 of 28 entries, 1 total columns 0 R project.Rproj 205 B Jul 26, 2024, 7:32 PM Console Terminal x Background Jobs x 0 jaggia_ba_2e_ch06_data (1).xIsx 56.1 KB Jul 26, 2024, 7:32 PM R R 4.4.1 . / cloud/project/~ Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help. start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(readx1) > myData View(myData) >
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
