STAT 340 Project

download STAT 340 Project

of 13

Transcript of STAT 340 Project

  • 8/9/2019 STAT 340 Project

    1/13

    Walk-In Clinic

    SimulationTeam 14:

    Archit AgnihotriJawed Karim

    Salman Asif

    Umer Iqbal

  • 8/9/2019 STAT 340 Project

    2/13

    Introduction

    Medical attention and health care are two vital factors that influence ones life. The

    amount of time one spends waiting to see a doctor is at times boundless.

    The objective of our project is to analyze the waiting and service time at a clinic for

    a patient, in an attempt to find the optimal number of doctors working at different

    times during the day.

  • 8/9/2019 STAT 340 Project

    3/13

    Reception

    Waiting Lounge

    Doctor 3Doctor 2

    Departure

    Entrance

    Doctor 1

  • 8/9/2019 STAT 340 Project

    4/13

    Data - VariablesEvent Counter System State Output

    Arrival timeNumber of

    arrivals

    Patients at

    Reception

    Cost per

    patient

    Departure timeNumber ofdepartures

    Patients inWaiting lounge

    Number ofdoctors

    Patients beingServed

  • 8/9/2019 STAT 340 Project

    5/13

    Assumptions Maximum capacity of the sitting area is K i.e. there cannot be more than K number of

    patients waiting at any one time

    Maximum number of doctors is N (corresponding to the total number of doctors offices)

    We assume that patients have made no appointments with the doctor. Patients are served

    on a first come, first serve basis.

    Patients arrive one at a time i.e. no groups of sick people

    One queue, multiserver system

    Patients arrive independent of each other

    The service time of all doctors is independent and identically distributed

  • 8/9/2019 STAT 340 Project

    6/13

    Summary of waiting timeMean 19.57

    Var 571.19

    Median 12.77

    First Quartile 2.79

    Third Quartile 23.55

    Fourth Quartile 97.72

  • 8/9/2019 STAT 340 Project

    7/13

    Summary of service time

    Mean 12.72

    Var 85.16

    Median 13.1

    First Quartile 3.56

    Third Quartile 20.43

    Fourth Quartile 30.94

  • 8/9/2019 STAT 340 Project

    8/13

    Validation

    Waiting times and Service Times follow exponential distribution.

    Kolmogorov-Smirnov (K-S) test statistic

    Sample means and variances using these values would not be adequate

    Reliance on plots to determine the distribution

  • 8/9/2019 STAT 340 Project

    9/13

    Waiting time plot

    1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

    0

    20

    40

    60

    80

    100

    120

    Wating time

    Wa ting time

  • 8/9/2019 STAT 340 Project

    10/13

    Service time plot

    1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

    0

    5

    10

    15

    20

    25

    30

    35

    S ervic e Time

    S ervice Time

  • 8/9/2019 STAT 340 Project

    11/13

    Simulation In order to improve the estimate of the average

    waiting and service times, we simulated two

    thousand data points

    > mean(simulated.wait)

    [1] 22.14312

    > mean(simulated.serv)

    [1] 12.57606

  • 8/9/2019 STAT 340 Project

    12/13

    Preliminary Conclusion

    Average waiting time follows an exponential distribution with mean

    (19.57) Minutes

    Average service time follows an exponential distribution with mean

    (12.72) - Minutes

    Simulated mean for the waiting time - 22.14

    Simulated mean for the service time - 12.57

  • 8/9/2019 STAT 340 Project

    13/13

    Recommendations

    Collect more data points to avoid sampling errors and improve accuracy

    Visit walk-in clinics across the country in order to collect data which is unbiased