poisson Questions
2
I'm trying to determine the granularity I can accurately schedule tasks to occur in C/C++. At the moment I can reliably schedule tasks to occur every 5 microseconds, but I'm trying to see if I can ...
2
Solved
Imagine that I have a set of measurements of x that are taken by many processes x0 ... xN at times t0 ... tN. Let's assume that at time t I want to make an estimate of the current value of x, based...
Gunboat asked 12/5, 2014 at 18:14
1
I am trying to fit some models (Spatial interaction models) according to some code which is provided in R. I have been able to get some of the code to work using statsmodels in a python framework b...
Massive asked 14/2, 2014 at 16:52
2
Solved
I'm aware of Knuth's algorithm for generating random Poisson distributed numbers (below in Java) but how do I translate that into calling a method, generateEvent(), randomly over time?
int poisson...
Patagonia asked 5/2, 2010 at 9:33
1
Solved
My problem is to extract in the most efficient way N Poisson random values (RV) each with a different mean/rate Lam. Basically the size(RV) == size(Lam).
Here it is a naive (very slow) implementa...
2
Solved
I have a problem where I want to generate a set of random integer values between 1 and 5 inclusive using a probability distribution.
Poisson and Inverse Gamma are two distributions that show the ...
Cryogen asked 8/5, 2013 at 8:8
1
I was tasked with developing a regression model looking at student enrollment in different programs. This is a very nice, clean data set where the enrollment counts follow a Poisson distribution we...
Kluge asked 16/4, 2013 at 20:43
2
Solved
I need to simulate Poisson wait times. I've found many examples of simulating the number of arrivals, but I need to simulate the wait time for one arrival, given an average wait time.
I keep findi...
1
Solved
I'm working with the random number generator available within C++11. At the moment, I'm using a uniform distribution, which should give me an equal probability to get any number within the range A ...
2
I am writing some code in C to be called dynamically from R.
This code generates a path of a random Poisson process up to a desired time T.
So at every call to my C function, the length of the ret...
Witty asked 9/1, 2012 at 23:30
5
Solved
I implemented this function to generate a poisson random variable
typedef long unsigned int luint;
luint poisson(luint lambda) {
double L = exp(-double(lambda));
luint k = 0;
double p = 1;
do ...
Colossal asked 14/4, 2011 at 2:18
7
Solved
Is there any way to randomly generate a set of positive numbers such that they have a desired mean and standard deviation?
I have an algorithm to generate numbers with a gaussian distribution, bu...
Vitalism asked 5/11, 2009 at 20:44
8
Solved
Original Question:
I want to generate a Poisson process. If the number of arrivals by time t is N(t) and I have a Poisson distribution with parameter λ how do I generate N(t)? How would I do this i...
Aldana asked 20/7, 2009 at 19:45
4
From what I understand, the standard generator is for the Normal Distribution. I have to generate random numbers according to the Normal, Uniform and Poisson Distributions, but I can't seem to find...
Rationalize asked 15/4, 2009 at 4:37
3
Solved
When you use the POISSON function in Excel (or in OpenOffice Calc), it takes two arguments:
an integer
an 'average' number
and returns a float.
In Python (I tried RandomArray and NumPy) it ret...
Fro asked 11/11, 2008 at 12:51
© 2022 - 2024 — McMap. All rights reserved.