Poisson Point Process with fixed N
12 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I came across this in a network model:
Distribute N points according to a homogeneous Poisson point process in a two-dimensional space of unit area.
No more info was given. Could somebody enlighten me on what this means? Usually I think of this as:
1) Generate the random variable N = n distributed as Poisson for a given lambda and area.
2) Generate n uniform points in that area.
But in the statement in bold text above N is fixed from the beginning. What would be a procedure for that (in Matlab)?
0 Commenti
Risposte (4)
H. Paul Keeler
il 29 Set 2018
Modificato: H. Paul Keeler
il 26 Ago 2019
The original question:
Distribute N points according to a homogeneous Poisson point process in a two-dimensional space of unit area.
That doesn't make sense if N is a fixed number. For the definition of the Poisson point process, the N has to be a Poisson random variable with its mean related to the area/size of the simulation region. This is non-negotiable. But if you fix N=n to some natural number (that is, in probability language, you condition on N=n), you then get a binomial point process.
As Nguyen Anh suggested above (and I wrote in another response), you treat this problem in polar coordinates.
For each point, you uniformly choose a random angular coordinate (or component) on the interval
. For the radial coordinate (or component), you first choose a random number on the unit interval
, and then you --- and this is very important -- square root that random number and multiply it by the radius of the disk. You have to take the square root to assure uniform points (because the area of a disk/sector is proportional to the radius squared, not the radius).
I recently blogged about simulating these two point processes. The binomial point process on a rectangle is here. The Poisson point process on a rectangle and on a disk.
The code for a binomial process on a disk would be.
%Simulation window parameters
r=1; %radius of disk
xx0=0; yy0=0; %centre of disk
%Simulate binomial point process
pointsNumber=100;
theta=2*pi*(rand(pointsNumber,1)); %angular coordinates
rho=r*sqrt(rand(pointsNumber,1)); %radial coordinates
%Convert from polar to Cartesian coordinates
[xx,yy]=pol2cart(theta,rho); %x/y coordinates of Poisson points
%Shift centre of disk to (xx0,yy0)
xx=xx+xx0;
yy=yy+yy0;
%Plotting
scatter(xx,yy);
xlabel('x');ylabel('y');
axis square;
6 Commenti
Nguyen Anh
il 14 Dic 2017
1) The random variable N = poissrnd(lambda*Area), i.e. Area = pi*diskRadius^2 if it is a circle area.
2) Generate n uniform points with distances: distance_Rand = diskRadius*sqrt(rand(N,1))
1 Commento
Nguyen Duc Anh
il 25 Apr 2018
Hi Nguyen Anh, What is about homogenerous poisson point processing? Can I creat, measure distances?
Mamta Narang
il 11 Set 2019
Hi Could you please help me in homogeneous Poisson point process ..? Where number of users are fixed and equally distributed in all the region
0 Commenti
Sudheesh PG
il 19 Giu 2020
Thanks for providing matlab code. Is it possible to generate another set of points from already given set with some "correlation" or difference in location? For example, Lets say correlation factor=1, points are same, factor=0.9, points are slightly shifted
0 Commenti
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!