Presentation is loading. Please wait.

Presentation is loading. Please wait.

Probability theory 2008 Conditional probability mass function  Discrete case  Continuous case.

Similar presentations


Presentation on theme: "Probability theory 2008 Conditional probability mass function  Discrete case  Continuous case."— Presentation transcript:

1 Probability theory 2008 Conditional probability mass function  Discrete case  Continuous case

2 Probability theory 2008 Conditional probability mass function - examples  Throwing two dice  Let Z 1 = the number on the first die  Let Z 2 = the number on the second die  Set Y = Z 1 and X = Z 1 +Z 2  Radioactive decay  Let X = the number of atoms decaying within 1 unit of time  Let Y = the time of the first decay

3 Probability theory 2008 Conditional expectation  Discrete case  Continuous case  Notation

4 Probability theory 2008 Conditional expectation - rules

5 Probability theory 2008 Calculation of expected values through conditioning  Discrete case  Continuous case  General formula

6 Probability theory 2008 Calculation of expected values through conditioning - example  Primary and secondary events  Let N denote the number of primary events  Let X 1, X 2, … denote the number of secondary events for each primary event  Set Y = X 1 + X 2 + … + X N  Assume that X 1, X 2, … are i.i.d. and independent of N

7 Probability theory 2008 Calculation of variances through conditioning Variation in the expected value of Y induced by variation in X Average remaining variation in Y after X has been fixed

8 Probability theory 2008 Variance decomposition in linear regression

9 Probability theory 2008 Proof of the variance decomposition We shall prove that It can easily be seen that

10 Probability theory 2008 Regression and prediction Regression function: Theorem: The regression function is the best predictor of Y based on X Proof: Function of X

11 Probability theory 2008 Best linear predictor Theorem: The best linear predictor of Y based on X is Proof: ……. Ordinary linear regression

12 Probability theory 2008 Expected quadratic prediction error of the best linear predictor Theorem: Proof: ……. Ordinary linear regression

13 Probability theory 2008 Martingales The sequence X 1, X 2,… is called a martingale if Example 1: Partial sums of independent variables with mean zero Example 2: Gambler’s fortune if he doubles the stake as long as he loses and leaves as soon as he wins

14 Probability theory 2008 Exercises: Chapter II 2.6, 2.9, 2.12, 2.16, 2.22, 2.26, 2.28 Use conditional distributions/probabilities to explain why the envelop-rejection method works

15 Probability theory 2008 Transforms

16 Probability theory 2008 The probability generating function Let X be an integer-valued nonnegative random variable. The probability generating function of X is  Defined at least for | t | < 1  Determines the probability function of X uniquely  Adding independent variables corresponds to multiplying their generating functions Example 1: X  Be(p) Example 2: X  Bin(n;p) Example 3: X  Po(λ) Addition theorems for binomial and Poisson distributions

17 Probability theory 2008 The moment generating function Let X be a random variable. The moment generating function of X is provided that this expectation is finite for | t | 0  Determines the probability function of X uniquely  Adding independent variables corresponds to multiplying their moment generating functions

18 Probability theory 2008 The moment generating function and the Laplace transform Let X be a non-negative random variable. Then

19 Probability theory 2008 The moment generating function - examples The moment generating function of X is Example 1: X  Be(p) Example 2: X  Exp(a) Example 3: X   (2;a)

20 Probability theory 2008 The moment generating function - calculation of moments

21 Probability theory 2008 The moment generating function - uniqueness

22 Probability theory 2008 Normal approximation of a binomial distribution Let X 1, X 2, …. be independent and Be(p) and let Then.

23 Probability theory 2008 Distributions for which the moment generating function does not exist Let X = e Y, where Y  N(  ;  ) Then and.

24 Probability theory 2008 The characteristic function Let X be a random variable. The characteristic function of X is  Exists for all random variables  Determines the probability function of X uniquely  Adding independent variables corresponds to multiplying their characteristic functions

25 Probability theory 2008 Comparison of the characteristic function and the moment generating function Example 1: Exp(λ) Example 2: Po(λ) Example 3: N(  ;  ) Is it always true that.

26 Probability theory 2008 The characteristic function - uniqueness For discrete distributions we have For continuous distributions with we have.

27 Probability theory 2008 The characteristic function - calculation of moments If the k:th moment exists we have.

28 Probability theory 2008 Using a normal distribution to approximate a Poisson distribution Let X  Po(m) and set Then.

29 Probability theory 2008 Using a Poisson distribution to approximate a Binomial distribution Let X  Bin(n ; p) Then If p = 1/n we get.

30 Probability theory 2008 Sums of a stochastic number of stochastic variables Probability generating function: Moment generating function: Characteristic function:

31 Probability theory 2008 Branching processes  Suppose that each individual produces j new offspring with probability p j, j ≥ 0, independently of the number produced by any other individual.  Let X n denote the size of the n th generation  Then where Z i represents the number of offspring of the i th individual of the ( n - 1 ) st generation. generation

32 Probability theory 2008 Generating function of a branching processes Let X n denote the number of individuals in the n:th generation of a population, and assume that where Y k, k = 1, 2, … are i.i.d. and independent of X n Then Example:

33 Probability theory 2008 Branching processes - mean and variance of generation size  Consider a branching process for which X 0 = 1, and  and  respectively depict the expectation and standard deviation of the offspring distribution.  Then.

34 Probability theory 2008 Branching processes - extinction probability  Let  0 = P(population dies out ) and assume that X 0 = 1  Then where g is the probability generating function of the offspring distribution

35 Probability theory 2008 Exercises: Chapter III 3.1, 3.2, 3.3, 3.7, 3.15, 3.25, 3.26, 3.27, 3.32


Download ppt "Probability theory 2008 Conditional probability mass function  Discrete case  Continuous case."

Similar presentations


Ads by Google