USE R programming A bank manager wants to investigate the congestion at the bank’s automated tellermachine (ATM). Upload the ATM_times.csv data set into R. This contains data that has beencollected on 10 customers which includes their interarrival times in the variableIT_times. Also given are two sets of service times, S_times1 and S_times2. (all times are inseconds)One assumption to using an M/M/1 queuing model is that the interarrival times andservice times be exponentially distributed. 2(a).  Investigate if the interarrival and service times are exponentially distributed.Do this by plotting a histogram for each and overlaying an exponential density curve on thehistogram to see how close the data set matches the distribution. (Hint: to overlay thecurve, you will need a value for the rate of the exponential distribution. How could youestimate this from the data?) Comment on each plot as to how closely each data set matches an 2(b). Of the two sets of service times, S_times1 and S_times2, which has anapproximate service rate that would not allow for the use of a M/M/1 queuing model.Explain why     IA_times S_times1 S_times2 1 55.396 95.856 3.268 2 51.817 8.006 14.782 3 11.782 29.419 7.839 4 2.404 4.184 3.929 5 55.008 25.857 7.317 6 16.604 75.649 33.875 7 42.444 69.821 50.998 8 47.86 61.922 3.192 9 8.583 26.505 17.646 10 3.806 29.066 39.215

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question

USE R programming

A bank manager wants to investigate the congestion at the bank’s automated teller
machine (ATM). Upload the ATM_times.csv data set into R. This contains data that has been
collected on 10 customers which includes their interarrival times in the variable
IT_times. Also given are two sets of service times, S_times1 and S_times2. (all times are in
seconds)
One assumption to using an M/M/1 queuing model is that the interarrival times and
service times be exponentially distributed.


2(a).  Investigate if the interarrival and service times are exponentially distributed.
Do this by plotting a histogram for each and overlaying an exponential density curve on the
histogram to see how close the data set matches the distribution. (Hint: to overlay the
curve, you will need a value for the rate of the exponential distribution. How could you
estimate this from the data?)


Comment on each plot as to how closely each data set matches an

2(b). Of the two sets of service times, S_times1 and S_times2, which has an
approximate service rate that would not allow for the use of a M/M/1 queuing model.
Explain why

 

  IA_times S_times1 S_times2
1 55.396 95.856 3.268
2 51.817 8.006 14.782
3 11.782 29.419 7.839
4 2.404 4.184 3.929
5 55.008 25.857 7.317
6 16.604 75.649 33.875
7 42.444 69.821 50.998
8 47.86 61.922 3.192
9 8.583 26.505 17.646
10 3.806 29.066 39.215
       
       
AI-Generated Solution
AI-generated content may present inaccurate or offensive content that does not represent bartleby’s views.
steps

Unlock instant AI solutions

Tap the button
to generate a solution

Similar questions
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman