Download presentation

Presentation is loading. Please wait.

1
**Discrete random variables**

International Baccalaureate Higher Level International Baccalaureate Higher Level International Baccalaureate Higher Level International Baccalaureate Higher Level International Baccalaureate Higher Level International Baccalaureate Higher Level International Baccalaureate Higher Level International Baccalaureate Higher Level International Baccalaureate Higher Level International Baccalaureate Higher Level International Baccalaureate Higher Level International Baccalaureate Higher Level International Baccalaureate Higher Level International Baccalaureate Higher Level International Baccalaureate Higher Level International Baccalaureate Higher Level International Baccalaureate Higher Level International Baccalaureate Higher Level International Baccalaureate Higher Level International Baccalaureate Higher Level International Baccalaureate Higher Level International Baccalaureate Higher Level International Baccalaureate Higher Level International Baccalaureate Higher Level International Baccalaureate Higher Level International Baccalaureate Higher Level International Baccalaureate Higher Level International Baccalaureate Higher Level International Baccalaureate Higher Level International Baccalaureate Higher Level International Baccalaureate Higher Level International Baccalaureate Higher Level International Baccalaureate Higher Level International Baccalaureate Higher Level International Baccalaureate Higher Level International Baccalaureate Higher Level International Baccalaureate Higher Level International Baccalaureate Higher Level International Baccalaureate Discrete random variables Learning outcomes This work will help you to learn about probability distributions for discrete random variables how to calculate and use E(X), the expectation (mean) how to calculate and use E[g(X)], the expectation of a simple function of X how to calculate and use Var(X), the variance of X about the cumulative distribution function F(x) about the binomial and Poisson distributions

2
**Probability Distributions**

When a variable is discrete, it is possible to specify or describe all its possible numerical variables, for example the number of females in a group of four students: the possible values are 0, 1, 2, 3, 4, the amount gained, in pence , in a game where the entry fee is 10 p and the prizes are 50 p and £1: the possible values are 10, 40, 90, the number of times you throw a die until a six appears: the possible values are 1, 2, 3, 4, 5, … to infinity. Probability Distributions Consider this situation: By mistake, three faulty fuses are put into a box containing two good fuses. The faulty and good fuses become mixed up and are indistinguishable by sight. You take two fuses from the box. What is the probability that you take no faulty fuses, one faulty fuse, two faulty fuses.

3
Probability Outcome F F’ 2 faulty 1 faulty 1 faulty 0 faulty P(no faulty fuses) = 0.1 P(one faulty fuse) = 0.6 P(two faulty fuses) = 0.3

4
The variable being considered here is ‘the number of faulty fuses’ and it can be denoted by X. then the answers to the previous questions can be written as or placed in a table x 1 2 P(X = x) 0.1 0.6 0.3 then X is a discrete random variable. For a discrete random variable, the sum of the probabilities is 1, The function that is responsible for allocating probabilities, P(X = x) is known as the probability density function of X. (p.d.f of X).

5
Two tetrahedral dice, each with faces labelled 1, 2, 3 and 4 are thrown and score noted, where the score is the sum of the two numbers on which the dice land. Find the probability density function (p.d.f.) of X, where X is the random variable ‘the score when the two dice are thrown’. The p.d.f. of a discrete random variable Y is given by P(Y = y) = cy2, for y = 0, 1, 2, 3, 4. Given that c is a constant, find the value of c. The discrete random variable W has probability distribution as shown w -3 -2 -1 1 P(W = w) 0.1 0.25 0.3 0.15 d Find a. the value of d e. the mode

6
**Expectation of X, E(X) Experimental approach**

E(X) is read as ‘E of X’ and it gives an average or typical value of X, known as the expected value or expectation of X. This is comparable with the mean in descriptive statistics. Experimental approach The frequency distribution shows the results when an unbiased die is thrown 120 times. Score, x 1 2 3 4 5 6 Frequency, f 15 22 23 19 18 Total 120 The mean score

7
**You could write this out in a different way**

These are the relative frequencies of the scores of 1, 2, 3, 4, 5, 6 respectively Notice that they are close to

8
Theoretical approach When an unbiased die is thrown the probability of obtaining a particular value is . Score, x 1 2 3 4 5 6 P(X = x) The expected mean or expectation of X, is obtained by multiplying each score by its probability, then summing. It is written E(X) so

9
**Find the expected number of sixes when three fair dice are thrown. x 1 **

A random variable X has probability distribution as shown. Find the expectation, E(X) x -2 -1 1 2 P(X = x) 0.3 0.1 0.15 0.4 0.05 Find the expected number of sixes when three fair dice are thrown. Find the expectation, E(X) x 1 2 3 4 5 P(X = x) 0.1 0.2 0.4

10
**Only 10p to play! You win £1 You win 50p You win 40p You win 80p**

A fruit machine consists of three windows which operate independently. Each window shows pictures of fruits: lemons, apples, cherries or bananas. The probability that a window shows a particular fruit is as follows. The rules for playing the game on the fruit machine are: Only 10p to play! P(lemon) = 0.4 P(cherries) = 0.2 You win £1 You win 50p You win 40p P(apple) = 0.1 P(banana) = 0.3 You win 80p Find the expected gain or loss if you play the game. In any order

11
**Expectation of any function of X, E[g(X)]**

The definition of expectation can be extended to any function of X, In general, if g(X) is any function of the discrete random variable X, then For example

12
x 1 2 3 P(X = x) 0.1 0.6 0.3 Calculate E(X), E(3), E(5X) E(5X+3) In general for constants a and b,

13
**A six-sided die has faces marked with numbers 1, 3, 5, 7, 9 and 11**

A six-sided die has faces marked with numbers 1, 3, 5, 7, 9 and 11. It is biased so that the probability of obtaining the number R in a single roll of the die is proportional to R. a. Show that the probability distribution of R is given by The die is to be rolled and a rectangle drawn with sides of length 6 cm and R cm. Calculate the expected value of the area of the rectangle. The die is to be rolled again and a square with sides of length 24R-1 cm. Calculate the expected value of the perimeter of the square. r 1 3 5 7 9 11 P(R = r) k 3k 5k 7k 9k 11k r 1 3 5 7 9 11 P(R = r)

14
**X is the number of heads obtained when two coins are tossed find**

The expected number of heads, E(X2), E(X2 – X). x 1 2 P(X = x)

15
**Variance of X, Var(X) Remember that variance = (standard deviation)2**

Experimental approach For a frequency distribution with mean the variance s2 is given by Theoretical approach

16
**The random variable X has probability distribution as shown in the table:**

1 2 3 4 5 P(X = x) 0.1 0.3 0.2 Find

17
**Two boxes each contain three cards,**

Two boxes each contain three cards,. The first box contains cards labelled 1, 3, and 5; the second box contains cards labelled 2, 6 and 8. In a game, a player draws one card at random from each box and his score, X, is the sum of the numbers on the two cards. Obtain the six possible values of X and find the corresponding probabilities. Calculate E(X), E(X2) and the variance of X. First box Second box 2 6 8 1 3 7 9 5 11 13 x 3 5 7 9 11 13 P(X = x)

18
**The following results relating to variance are useful.**

If a and b are any constants, For example

19
**The cumulative distribution function, F(x)**

In a frequency distribution, the cumulative frequencies are obtained by summing all the frequencies up to a particular value. In the same way, in a particular distribution, the probabilities u to certain values are summed to give the cumulative probability. The cumulative probability function is written F(x). Consider the following probability distribution. x 1 2 3 4 5 P(X = x) 0.05 0.4 0.3 0.15 0.1

20
**The cumulative distribution function is**

x 1 2 3 4 5 F(x) 0.05 0.45 0.75 0.9 In general, for the discrete random variable X, The cumulative distribution function F(x) where

21
**The discrete random variable X has cumulative distribution function**

Write out the probability distribution and suggest what X represents. x 1 2 3 4 5 6 F(x) x 1 2 3 4 5 6 P(X = x)

22
**For a discrete random variable X the cumulative distribution function F(x) is shown**

1 2 3 4 5 F(x) 0.2 0.32 0.67 0.9

23
**The binomial distribution**

In a particular population, 10% of people have blood type B. If three people are selected at random from the population, what is the probability that exactly two of them have blood type B? B B’

24
**Now consider the situation when eight people are selected**

Now consider the situation when eight people are selected. What is the probability that exactly two of the eight people will have blood type B? Can you find the probability that exactly two have blood type B in a randomly selected group of 12 people.?

25
**Conditions for binomial model**

For a situation to be described using a binomial model a finite number, n, trials are carried out, the trials are independent the outcome of each trial is deemed either a success or a failure, the probability, p of successful outcome is the same for each trial. The discrete random variable, X is the number of successful outcomes in n trials. Then X is said to follow a binomial distribution NOTE: The number of trials n and the probability of success p, are both needed in order to describe the distribution completely.

26
**At Sellitall Supermarket, 60% of the customers pay by credit card**

At Sellitall Supermarket, 60% of the customers pay by credit card. Find the probability that in a randomly selected sample of ten customers. Exactly two pay by credit card More than seven pay by credit card. Five independent trials of an experiment are carried out. The probability of a successful outcome p and the probability of failure is 1 – p = q Write out the probability distribution of X, where X is the number of successful outcomes in five trials. Comment on your answer. The random variable X is distributed B(7, 0.2). Find correct to three decimal places P(X = 3), P(1 < X ≤ 4) P(X > 1)

27
**Expectation and variance of the binomial distribution**

A box contains a large number of pens. The probability that a pen is faulty is 0.1. How many pens would you need to select to be more than 95% certain of picking at least one faulty one? Expectation and variance of the binomial distribution It can be shown that The random variable X is B(4, 0.8). Construct the probability distribution for X and find the expectation and variance. x 1 2 3 4 P(X = x) 0.0016 0.0256 0.1536 0.4096

28
**The mode of the binomial distribution**

The probability that it will be a fine day is 0.4. Find the expected number of fine days in a week and also the standard deviation. X is B(n, p) with mean 5 and standard deviation 2. Find the values of n and p. The mode of the binomial distribution The mode is the value of X that is most likely to occur. Consider the following probability sketches.

29
**when p = 0.5 and n is odd, there are two modes, **

For the probabilities too small to illustrate when p = 0.5 and n is odd, there are two modes, otherwise the distribution has one mode The mode can be found by calculating all the probabilities and find the value of X with the highest probability. This without a GDC can be very tedious; it is only usually necessary to consider the probabilities of values of X close to the mean np.

30
The probability that a student is awarded a distinction in the Mathematics examination is In a randomly selected group of 50 students, what is the most likely number of students awarded a distinction?

31
**The Poisson distribution**

Consider these random variables the number of emergency calls received by an ambulance control in an hour, the number of vehicles approaching a expressway toll bridge in a five minute interval, the number of flaws in a metre length of material the number of white corpuscles on a slide. Assuming these occur randomly, they are all examples of variables that can be modelled using a Poisson distribution. Conditions for Poisson model Events occur singly at random in a given interval of time or space. λ, the mean number of occurrences in the given interval, is known and is finite. The variable X is the number of occurrences in the given interval. If the above conditions are satisfied , X is said to follow a Poisson distribution written

32
A student finds that the average number of amoebas in 10 ml of pond water from a particular pond is four. Assuming that the number of amoebas follows a Poisson distribution, find the probability that in 10 ml sample there are exactly five amoebas, there are no amoebas, there are fewer than three amoebas. These two results are useful in general Unit interval Care must be taken to specify the interval being considered. In the previous example the mean number of amoebas in 10 ml of pond water from a particular pond is 4 so the number in 10 ml is distributed Po(4). Now suppose you want to find a probability relating to the number of amoebas in 5 ml of water from the same pond. The mean number of amoebas in 5 ml is two, so the number 5 ml is distributed Po(2) Similarly, the number of amoebas in 1 ml of pond water is distributed Po(0.4)

33
**Mean and variance of the Poisson distribution**

On average the school photocopier breaks down eight times during the school week. (Monday to Friday). Assuming that the number of breakdowns can be modelled by a Poisson distribution, find the probability that is breaks down five times in a given week, once on Monday, eight times in a fortnight. Mean and variance of the Poisson distribution X follows a Poisson distribution with standard deviation 1.5. Find P(X ≥ 3)

36
Notice for small values of λ, the distribution is very skew, but it becomes more symmetrical as λ increases

37
**The mode of the Poisson distribution**

The mode is the value of X that is the most likely to occur, i.e. with the greatest probability. From the diagrams, we can see that when λ = 1, there are two modes, 0 and 1, when λ = 2, there are two modes, 1 and 2, when λ = 1, there are two modes, 2 and 3, In general, if λ is an integer, there are two modes, λ – 1 and λ. For example, if X ~ Po(8), the modes are 7 and 8. Notice also that when λ = 1.6, the mode is 1, when λ = 2.2, the mode is 2, when λ = 3.8, the mode is 3, In general, if λ is not an integer, mode is the integer below λ. For example, if X ~ Po(4.9), the mode is 4 .

Similar presentations

OK

Probability Distributions Discrete. Discrete data Discrete data can only take exact values Examples: The number of cars passing a checkpoint in 30 minutes.

Probability Distributions Discrete. Discrete data Discrete data can only take exact values Examples: The number of cars passing a checkpoint in 30 minutes.

© 2018 SlidePlayer.com Inc.

All rights reserved.

Ads by Google

Ppt on minimum wages act Ppt on peace and nonviolence Ppt on plants for grade 3 Topics for ppt on technology Ppt on negotiation skills Ppt on indian army weapons images Ppt on game theory raleigh Ppt on principles of object-oriented programming language Ppt on micro channel heat exchanger Download ppt on civil disobedience movement in 1930