[SciPy-User] Mean arrivals per time unit -> Time between consecutive arrivals
Wed Nov 25 10:20:09 CST 2009
On Wed, Nov 25, 2009 at 10:54 AM, nicky van foreest
> Hi Ram,
> 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
> 2009/11/25 Ram Rachum <firstname.lastname@example.org>:
>> I've just started using scipy/numpy for some queue theory. I have a queue for
>> which the arrival rate is a Poisson distribution. I also have the mean number of
>> arrivals per time unit.
>> I looked around SciPy and I saw I can use scipy.stats.poisson. I was happy that
>> it could make a random variable for number of arrivals per time unit. But I want
>> the time between consecutive arrivals, as a random variable.
>> Does anyone know how I can get that?
>> SciPy-User mailing list
> SciPy-User mailing list
More information about the SciPy-User