Google Groups Home
Help | Sign in
Modeling time dependent arrival rates using gamma distribution
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  13 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Jiggy  
View profile
 More options Aug 4, 8:42 pm
Newsgroups: sci.op-research
From: Jiggy <joshiamit...@gmail.com>
Date: Mon, 4 Aug 2008 17:42:55 -0700 (PDT)
Local: Mon, Aug 4 2008 8:42 pm
Subject: Modeling time dependent arrival rates using gamma distribution
Hello Everyone,

I am modeling the patient arrival rates during a mass casualty event
and as we all know, they are time dependent and not constant. I am
trying to use gamma distribution to model the arrival process. I am
aware that gamma distribution is characterized by two parameters
namely the shape and the scale parameter. Now during a disaster
situation, the patients arriving to the hospital usually arrive in two
waves, the first wave arrives within 5-30 minutes from the time the
event occurs and the second wave after 30 mins may be. Following are
my questions:

1. Relationship between the gamma parameters keeping in mind the
arrival rate. How will the two parameters impact the arrival rate and
pattern?

2. How can I find the gamma parameters that would give the above said
delay times?

3. I want to model the arrival as gamma distribution over a time
horizon with the time horizon divided into several small time
intervals and within each of the small time intervals the arrival rate
follows an exponential distribution. How do I model this in the
simulation model designed by me. I need what way should I specify the
same in the create block to which represents arrivals in my model.

Thanks a lot.
Amita.


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
sbma...@gmail.com  
View profile
 More options Aug 5, 2:41 pm
Newsgroups: sci.op-research
From: sbma...@gmail.com
Date: Tue, 5 Aug 2008 11:41:12 -0700 (PDT)
Local: Tues, Aug 5 2008 2:41 pm
Subject: Re: Modeling time dependent arrival rates using gamma distribution
On Aug 4, 8:42 pm, Jiggy <joshiamit...@gmail.com> wrote:

You are giving yourself a headache by using a Gamma distribution
because you'll have a tough time explaining what the parameters mean
to your customer.  Better to select a 1 parameter distribution that
has the approximate shape of the Gamma you have in mind.  That should
be good enough since you are only approximating arrivals.

For each arrival slug you have 2 random variables, the total number of
patients and their arrival pattern.  You could generate your patient
count at sim start from 1 distribution and dump them into a queue.
E.g. the number of total patients over the 25 minute period is N(1000,
250) or something.

Then you will need realizations of an arrival pdf as an order
statistic to ping the patient queue and inject the patients into the
system.  So say the time dependent arrival pattern over 25 minutes is
lognormally distributed (14, 11) or whatever.  I'd have to think about
this.  But after you generate the n patients, you would generate n
arrival times and then sort those.  Then use the arrival times to ping
the the patient queue.

Replay the same process for slug 2 with different parameters.  This
assumes of course that the # of patients and their arrival patterns
are not correlated.

Without knowing what sim package you use, I can't tell you the actual
mechanics of the model design.

SteveM


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jiggy  
View profile
 More options Aug 5, 6:29 pm
Newsgroups: sci.op-research
From: Jiggy <joshiamit...@gmail.com>
Date: Tue, 5 Aug 2008 15:29:31 -0700 (PDT)
Local: Tues, Aug 5 2008 6:29 pm
Subject: Re: Modeling time dependent arrival rates using gamma distribution
On Aug 5, 1:41 pm, sbma...@gmail.com wrote:

Thank you so much for your reply....I am using ARENA 10.0 to model
this....it would be great if you can explain me to do this giving an
example... :) . Shall wait for your nxt reply.

    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
sbma...@gmail.com  
View profile
 More options Aug 5, 8:09 pm
Newsgroups: sci.op-research
From: sbma...@gmail.com
Date: Tue, 5 Aug 2008 17:09:22 -0700 (PDT)
Local: Tues, Aug 5 2008 8:09 pm
Subject: Re: Modeling time dependent arrival rates using gamma distribution
On Aug 5, 6:29 pm, Jiggy <joshiamit...@gmail.com> wrote:

Sorry.  Can't help you there.  I use Extend not Arena.

Good Luck,

SteveM


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jiggy  
View profile
 More options Aug 6, 1:26 am
Newsgroups: sci.op-research
From: Jiggy <joshiamit...@gmail.com>
Date: Tue, 5 Aug 2008 22:26:58 -0700 (PDT)
Local: Wed, Aug 6 2008 1:26 am
Subject: Re: Modeling time dependent arrival rates using gamma distribution
On Aug 5, 7:09 pm, sbma...@gmail.com wrote:

Hey no problem. Thanks a lot for your reply though :)

    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
DB Fuller  
View profile
 More options Aug 6, 8:10 am
Newsgroups: sci.op-research
From: DB Fuller <fulle...@gmail.com>
Date: Wed, 6 Aug 2008 05:10:26 -0700 (PDT)
Local: Wed, Aug 6 2008 8:10 am
Subject: Re: Modeling time dependent arrival rates using gamma distribution
On 4 ago, 21:42, Jiggy <joshiamit...@gmail.com> wrote:

I agree with sbma...@gmail.com; do you really have a strong reason to
use the gamma?...

I think it is the a similar idea to sbma...@gmail.com's, but I believe
you should separate the number of patients from their arrival times. I
also understand the two arrival waves are independent, so you can just
do the same thing twice starting at different times.

My fisrt idea would look something like building a histogram
backwards. First, generate the total number of patients that will
arrive in, say, the first wave (repeat for the second) and how long
this wave will last. Then divide the lenght of the wave in as many
intervals as you see fit (you can randomise this amount if you like).
The next step is to take the area under the distribution you are using
in each interval (sorry I can't help you with choosing the gamma
parametres... – but see below) and multiply it by the total number of
arrivals; this will give you the number of arrivals in each interval.
I have absolutely no idea how to do this in Arena and even if it can
be done, you'll have to mind the rounding problems (unless you can
have fractional patients arriving – pardon the dark humour ¦¬) ). With
the number of arrivals of each interval, you can use the Exponential
distribution (as you propoused) to find the intervals; this should be
straight foward now.

HTH and tell me if you need clarification, I'm in a bit of a hurry
right now,

DB Fuller

PS: Just checked a software I have here; if you can tell me explicitly
three things: mean, std. deviation and skewness, I can tell you alpha
and beta for the gamma distribution.


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jiggy  
View profile
 More options Aug 6, 6:09 pm
Newsgroups: sci.op-research
From: Jiggy <joshiamit...@gmail.com>
Date: Wed, 6 Aug 2008 15:09:03 -0700 (PDT)
Local: Wed, Aug 6 2008 6:09 pm
Subject: Re: Modeling time dependent arrival rates using gamma distribution
On Aug 6, 7:10 am, DB Fuller <fulle...@gmail.com> wrote:

Thanks for the reply, I am using Gamma distribution as it gives
flexibility for choosing the shape of the distribution and also it is
found to be used commonly to model the non homogeneous poisson
process. The arrivals are going to be exponential in nature with a
mean lamda. but lamda follows a gamma distribution with parameters
alpha and beta...so my experiment is going to be that I will allow 400
victims in the system, and try to perform an analysis by changing the
arrival pattern  and see which of the arrivals are sensitive on the
system performance..so in this case, the number of victims is fixed,
the rate at which I inject them (as steve mentioned) is what I need to
analyze. It would be great if you can make me understand this by
giving an hypothetical example. Also, you said that if I give you
mean , std deviation and Skewness, you can tell me gamma parameters,
but unfortunately I do not have data to obtain teh same.

Thanks.
Amita.


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jiggy  
View profile
 More options Aug 6, 6:12 pm
Newsgroups: sci.op-research
From: Jiggy <joshiamit...@gmail.com>
Date: Wed, 6 Aug 2008 15:12:26 -0700 (PDT)
Local: Wed, Aug 6 2008 6:12 pm
Subject: Re: Modeling time dependent arrival rates using gamma distribution
On Aug 6, 5:09 pm, Jiggy <joshiamit...@gmail.com> wrote:

I need to know how the arrival rate, shape parameter and scale
parameter are related and how do i specify it as an expression in
create  block. I was thinking that it should be specified as EXPO
(GAMMA (shape, scale)).I want to know, depending upon the arrival rate
that I decided, can I get the values of shape and scale???

    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
sbma...@gmail.com  
View profile
 More options Aug 6, 8:38 pm
Newsgroups: sci.op-research
From: sbma...@gmail.com
Date: Wed, 6 Aug 2008 17:38:03 -0700 (PDT)
Local: Wed, Aug 6 2008 8:38 pm
Subject: Re: Modeling time dependent arrival rates using gamma distribution
On Aug 6, 6:12 pm, Jiggy <joshiamit...@gmail.com> wrote: