[SciPy-User] Mean arrivals per time unit -> Time between consecutive arrivals
Fri Nov 27 08:58:18 CST 2009
On Fri, Nov 27, 2009 at 1:49 AM, Ram Rachum <email@example.com> wrote:
> <josef.pktd <at> gmail.com> writes:
>> > YOu should take the interarrival time between two consecutive arrivals
>> > to be exponentially distributed with rate lambda, where lambda is the
>> > arrival rate. LIke this the number of arrivals in a fixed period is
>> > Poisson distributed. I never tried, but I suppose scipy contains a
>> > module to generate exponentially distributed rv's.
>> The sum of iid exponential distributed rvs is gamma distributed
>> all available in scipy.stats
> I don't understand. So you mean that the exponential thing would NOT be the
> right thing for the time between consecutive arrivals?
What I meant was that the distribution of the time to the next arrival
is exponential distributed. The time until you have k arrivals is the
sum of k exponentially distributed random variables and is gamma
For simulation of queuing models http://pypi.python.org/pypi/SimPy
looks also useful, although I never used it.
> Also, why doesn't scipy automatically gives me the time between consecutive
> arrivals when I give the mean number of arrivals per time period?
> SciPy-User mailing list
More information about the SciPy-User