The sample space for bernoulli process is the set of all binary sequences.
For a given number of trials, how many successes do we have? call this random variable (number of successes in trails)
What is ? well for any , ,
Next, for a given number of successes, how many trials do we have? call is (number of trails for successes)
What is for any , that is, what is the probability that I spend trials to get sucesses?
well if , then the probability is zero.
if , then the probability is simply .
what is ? well, the last th trial has to be a success, else if we have successes before the last trial, we have used less than trails to get successes, and if we have less than successes before the last trial, we we never get successes including the last trail.
Therefore
That is, the last trial has to be a success, and independently, given the previous trials, we need a total of successes. Hence, $$p_{T_{n}}(n+r) =(n+r-1) \ C \ (n-1) \ p^n(1-p)^r$$ (pascal PMF)
Now what is ? Well which seems harder to calculate.
Well the memoryless property (which comes from independence) is an absolute UNIT here.
Let us say your cousin, saw successes so far, where models the Random variable, which depicts the numbs of trails needed to see successes. And now you walk into the room. How many more trials do you need to see another success? that is modeled by of course. So . Doing this repeatedly,
we have .
Similarly,
Poisson process
He we talk about continuous time, and use the idea of time homogeneity. In any time interval , the probability of arrivals in that time is modeled by . Equal time intervals have equal probability for any number of arrivals.
and disjoint time intervals and independent.
for any small time interval , we have .
Discretize the interval as . whenre .
Then each discretized interval acts as a Bernoulli trial.
Hence we ask the question again:
For a length of interval, discretized as , Let the random variable denote the number of arrivals in the interval . Then, the probability mass, approximated by discretization looks like a bernoulli process
now, .
Without doing any calculus, because we don't want to, we write the result . (poission distribution) . this is pretty cool! so the standard deviation of the poission is the square root of the mean.
Now, for a number of arrivals , let the random variable denote the length of time interval needed to see arrivals.
using the anologous arugment, if we want to see the time , we have to see exactly one arrival in the interval and exactly have arrivals in the time .
Since the two intervals are disjoint, and since is a continuous random variable
we have Do some rigorous cancellation of the deltas, and some plug and chug
.
And due to the fact that is memoryless, .
Merging and splitting:
Poisson processes:
Remember that the arrival rate is enough to determine a poisson process. Imagine we have two poison signals . And a machine that records an arrival, if in some small time interval, any one or both of the poison signals record an arrival.
let us use some notation and call and for the two Poisson signals, and for the merged signal.
Then, for to record an arrival in the small interval , we have three mutually exclusive cases: only records an arrival, with probability , only records an arrival, with probability , or they both do, with prob .
And so the probability that records a signal in the small interval is the sum of these three possibilities which is . Therefore is eqivalent to the poisson process with arrival rate !!!!!!!! (we have to ingore higher order terms like ).
In the small interval , given that we record in arrival in , what is the probability that also recorded a signal in that interval, using conditioning. we get (ignoring terms) that given recorded an arrival, the probability that recorded that signal is .
Analogously we can merge to bernoulli processes, and the probability that in any single trail, the merged succeeds is hence is the bernoulli process with each trail succeeded with probability .
Splitting poison
Given a poisson signal we split it into two signals , such that (indepedently) in any time interval of length , if records a signal, with probability I sent it to and with probability I send it to .
It is not difficult to see that is a possion process with arrival rate and is one with arrival rate , where is the arrival rate of itself.
We can analogously split the one Bernoulli process into two this way as well. :)