Poisson race distribution
From Maths
Contents
[hide]Definition
Let X∼Poi(λ1) and Y∼Poi(λ2) be given random variables (that are independent), then define a new random variable:
- Z:=X−Y
We[1] call this a "Poisson race" as in some sense they're racing, Z>0 then X is winning, Z=0, neck and neck and Z<0 then Y is winning.
- Caveat:Remember that Poisson measures stuff per unit thing, meaning, for example, that say we are talking "defects per mile of track" with λ1 being the defects per mile of the left rail (defined somehow) and λ2 the defects per mile of the right rail.
- If there are 5 on the left and 3 on the right Z for that mile was +2 - the next mile is independent and doesn't start off with this bias, that is Z=0 for the next mile it doesn't mean the right rail caught up with 2 more than the left for this mile.
- So this doesn't model an ongoing race.
Descriptions
- for k≥0 and k∈Z we have:
- Claim 1: P[Z=k]=λk1e−λ1−λ2∑i∈N0(λ1λ2)ii!(i+k)![Note 1], which may be written:
- P[Z=k]=λk1e−λ1−λ2∑i∈N0((λ1λ2)i(i!)2⋅i!(i+k)!)- this has some terms that look a bit like a Poisson term (squared) - perhaps it might lead to a closed form.
- P[Z=k]=λk1e−λ1−λ2∑i∈N0((λ1λ2)i(i!)2⋅i!(i+k)!)
- Claim 1: P[Z=k]=λk1e−λ1−λ2∑i∈N0(λ1λ2)ii!(i+k)!
- for k≤0 and k∈Z we can re-use the above result with X and Y flipped:
- Can't find where I've written it down, will not guess it
Proof of claims
Grade: B
This page requires one or more proofs to be filled in, it is on a to-do list for being expanded with them.
Please note that this does not mean the content is unreliable. Unless there are any caveats mentioned below the statement comes from a reliable source. As always, Warnings and limitations will be clearly shown and possibly highlighted if very important (see template:Caution et al).
The message provided is:
The message provided is:
k | X | Y |
---|---|---|
0 | X=0 | Y=0 |
X=1 | Y=1 | |
X=2 | Y=2 | |
⋮ | ⋮ | |
X=i | Y=i | |
1 | X=1 | Y=0 |
X=2 | Y=1 | |
X=3 | Y=2 | |
⋮ | ⋮ | |
X=i+1 | Y=i | |
2 | X=2 | Y=0 |
X=3 | Y=1 | |
X=4 | Y=2 | |
⋮ | ⋮ | |
X=i+2 | Y=i | |
⋯ | ||
j | X=j | Y=0 |
X=j+1 | Y=1 | |
X=j+2 | Y=2 | |
⋮ | ⋮ | |
X=i+j | Y=i |
Finding P[Z=k] for k∈N0
TODO: Cover why we split the cases (from below: "Whereas: if we have k<0 then Y>X so if we have Y=0 then X<0 follows, which we can't do, so we must sum the other way around ) - good start
- Let k∈N0 be given
- Suppose k≥0
- Then X−Y=k giving X=Y+k
- Specifically, k≥0 means X−Y≥0 so X≥Y and so forth as shown for a handful of values in the table on the right
- As Poisson is only defined for values in N0 we can start with Y=0 and X will be ≥0 too
- Whereas: if we have k<0 then Y>X so if we have Y=0 then X<0 follows, which we can't do, so we must sum the other way around if k<0. This is why we analyse P[Z=k] as two cases!
- As Poisson is only defined for values in N0 we can start with Y=0 and X will be ≥0 too
- So we see that if Y takes any value in N0 that X=Y+k means X∈N0 too, the key point
- Thus we want to sum over i∈N0 of P[Y=i∧X=i+k] as for these cases we see X−Y=i+k−i=k as required
- So: P[Z=k]:=∑i∈N0P[Y=i]⋅P[X=i+k | Y=i]
- As X and Y are independent distributions we know P[X=u | Y=v]=P[X=u] we see:
- P[Z=k]=∑i∈N0P[Y=i]⋅P[X=i+k]
- P[Z=k]=∑i∈N0P[Y=i]⋅P[X=i+k]
- Then P[Z=k]=∑i∈N0[e−λ2⋅λi2i!⏟P[Y=i]⋅e−λ1⋅λi+k1(i+k)!⏟P[X=i+k]⋅]- by definition of the Poisson distribution
- =e−λ1−λ2∑i∈N0(λ1⋅λ2)ii!⋅λk1(i+k)!
- Notice that (i+k)!=i!((i+1)(i+2)⋯(i+k))=i!(i+k)!i!, so 1(i+k)!=1i!(i+k)!i!=i!i!(i+k)!
- =e−λ1−λ2∑i∈N0(λ1⋅λ2)ii!⋅λk1(i+k)!
- So P[Z=k]=e−λ1−λ2∑i∈N0(λ1⋅λ2)iλk1i!⋅i!i!(i+k)!
- Finally giving:
- P[Z=k]=e−λ1−λ2∑i∈N0λk1⋅(λ1⋅λ2)ii!i!⋅i!(i+k)!or
- is is perhaps better written as: P[Z=k]=e−λ1−λ2∑i∈N0[λk1⋅(λ1⋅λ2)i(i!)2⋅1∏kj=1(i+j)]
- P[Z=k]=e−λ1−λ2∑i∈N0λk1⋅(λ1⋅λ2)ii!i!⋅i!(i+k)!
- Finally giving:
- As X and Y are independent distributions we know P[X=u | Y=v]=P[X=u] we see:
- So: P[Z=k]:=∑i∈N0P[Y=i]⋅P[X=i+k | Y=i]
- Suppose k≥0
NOTES for k<0
Let k′:=−k so it's positive and note that:
- X−Y=k means Y−X=−k=k′
- Importantly Y−X=k′ for k′>0 (as k<0 we see k′:=−k>0)
- Let X′:=Y and Y′:=X then we have:
- X′−Y′=k′ for k′>0 and both X′ and Y′ as Poisson distributions with given rates
- We can use the k≥0 formula for this as k′>0 so is certainly ≥0
- X′−Y′=k′ for k′>0 and both X′ and Y′ as Poisson distributions with given rates
- Let X′:=Y and Y′:=X then we have:
- Importantly Y−X=k′ for k′>0 (as k<0 we see k′:=−k>0)
Notes
- Jump up ↑ Note that ∑i∈N0ai means ∑∞i=0ai - see Notes:Infinity notation
References
- Jump up ↑ I've heard this somewhere before, I can't remember where from - I've had a quick search, while not established it's in the right area
|