generating functions
play

Generating Functions Will Perkins February 14, 2013 Turning a - PowerPoint PPT Presentation

Generating Functions Will Perkins February 14, 2013 Turning a Function into a Sequence Definition Let a = a 0 , a 1 , a 2 , . . . be a sequence of real numbers. Then the generating function of a is G a ( x ) = a 0 + a 1 x + a 2 x 2 + . . . This


  1. Generating Functions Will Perkins February 14, 2013

  2. Turning a Function into a Sequence Definition Let a = a 0 , a 1 , a 2 , . . . be a sequence of real numbers. Then the generating function of a is G a ( x ) = a 0 + a 1 x + a 2 x 2 + . . . This is called a ‘formal power series’ since we define the function without worrying whether or not the series converges. (It may for some choices of x but not for others).

  3. Basic Examples The sequence a = 1 , 1 , . . . has the generating function 1 G ( s ) = 1 + s + s 2 + · · · = 1 − s The sequence a = 1 , q , q 2 . . . has the generating function 1 G ( s ) = 1 − qs The sequence a = 1 / 0! , 1 / 1! , 1 / 2! , . . . has the generating function G ( s ) = e s

  4. Probability Generating Functions Let X be a discrete random variable taking the values 0 , 1 , 2 , . . . . Then there is a generating function easily associated to X : G X ( s ) = Pr[ X = 0] + Pr[ X = 1] s + Pr[ X = 2] s 2 + . . . This is the probability generating function of X . Examples - find the generating functions for: Bernoulli Poisson Discrete Uniform Geometric Binomial (later)

  5. Properties of Probability Generating Functions Some properties of G X ( s ): 1 G X (1) = 1 2 G X (0) = Pr[ X = 0] 3 G ′ X (0) = Pr[ X = 1] 4 G ′ X (1) = E X 5 G ( k ) X (0) =? 6 G ( k ) X (1) =? 7 G X ( s ) = E s X

  6. Convolutions Definition Let a = a 0 , a 1 , . . . and b = b 0 , b 1 , . . . . The convolution of a and b , denoted a ∗ b is the sequence c 0 , c 1 , c 2 , . . . in which i � c i = a j b i − j j =0 I.e., a 0 b 0 , a 0 b 1 + a 1 b 0 , a 0 b 2 + a 1 b 1 + a 2 b 0 , . . .

  7. Convolutions Fact: If π X and π Y are the probability mass sequences of two independent discrete random variables X and Y , then the probability mass sequence of X + Y is π X + Y = π X ∗ π Y Proof: k � Pr[ X + Y = k ] = Pr[ X = j ] Pr[ Y = k − j ] j =0

  8. Convolutions and Generating Functions Convolutions work nicely with generating functions: G a ∗ b = G a · G b

  9. Examples Prove that the sum of two independent Poisson RV’s is another Poisson. Find the generating function of a binomial RV.

  10. Composition of Generating Functions We can use generating functions to understand sums of a random number of independent random variables: Theorem Let Z = X 1 + · · · + X N where the X i ’s are iid with generating function G X and N is a random variable with generating function G N . Then G Z ( s ) = G N ( G X ( s )) Proof: Using conditional expectation.

  11. Example Let N ∼ Pois ( λ ) and let X ∼ Bin ( N , p ). What is the distribution of X ?

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend