The probability generating function of a nonnegative integer-valued random variable is
using also at . It is always defined for , and indeed the power series converges absolutely for all real or complex with , because
It may be defined beyond the unit disk where this power series converges absolutely; such a larger domain depends on the distribution. In particular and .
Let . By independence, the expectation of a product of independent random variables factors, and the identical distributions give
This is valid for and wherever the required absolute expectations exist. It is the probability generating function of an independent sum.
For , condition on . Its independence from the preserves their independent common distribution, so part (ii) gives
For , this is , agreeing with . By the law of total expectation,
This proves the probability generating function of an independent random sum. For nonnegative outside , the same argument is valid whenever the right side is finite, by Tonelli's theorem for nonnegative sums. For signed or complex , a sufficient absolute-convergence condition is ; it holds automatically on . Outside this domain, mere evaluation of an analytically extended expression is not a substitute for existence of the probability generating function.
Using the two masses of the Bernoulli distribution,
This probability generating function is a polynomial, so it exists for every finite .
Let indicate that student stays awake. These indicators have independent Bernoulli distributions with parameter , and . The Poisson distribution has probability generating function
The probability generating function of an independent random sum now gives
Recognizing the Poisson distribution,
This is Poisson thinning.
For each student, the probability of both falling asleep and dreaming about mathematics is . These indicators are independent across students, so the same Poisson thinning calculation gives, for the requested count ,
Explicitly , the probability generating function of that Poisson distribution.
Given , there are exactly independent opportunities to stay awake, each with probability . Hence
The standard binomial distribution formulas are and . The Poisson distribution formulas are , , and therefore . By the law of total expectation,
Using the definition of covariance,
Thus and are not independent, even though the separate awake and asleep counts produced by Poisson thinning are independent.

Articles by others on the same topic (0)

There are currently no matching articles.