Presentation is loading. Please wait.

Presentation is loading. Please wait.

Section 2.1 Important definitions in the text: The definition of random variable and space of a random variable Definition 2.1-1 The definition of probability.

Similar presentations


Presentation on theme: "Section 2.1 Important definitions in the text: The definition of random variable and space of a random variable Definition 2.1-1 The definition of probability."— Presentation transcript:

1 Section 2.1 Important definitions in the text: The definition of random variable and space of a random variable Definition 2.1-1 The definition of probability mass function (p.m.f.) for a random variable Definition 2.1-2 Suppose a set contains N = N 1 + N 2 items, where N 1 items are of one type, N 2 items are of another type, and n items are selected from the N items at random and without replacement. If the random variable X is defined to be the number of selected n items that are from the N 1 items, then X is said to have a hypergeometric distribution. The p.m.f. of X is Notice that the type of random variable described here fits one of the situations from Chapter 1. We shall discuss this type of random variable shortly.

2 The mean of X is E(X) = Later, when we define this notation, we shall return to complete this.

3 To find the variance of X (using using Theorem 2.2-1), find E[X(X – 1)] = Since E[X(X – 1)] = E(X 2 ) – E(X) = Later, when we define this notation, we shall return to complete this.

4 then E(X 2 ) = and Var(X) = E(X 2 ) – [E(X)] 2 = Later, when we define this notation, we shall return to complete this.

5 1. (a) Two fair, standard, six-sided dice are to be rolled. Find the p.m.f. of the random variable X = "the difference in number of spots between the two dice". The 36 equally likely outcomes when the two dice are rolled are (1,1)(1,2)(1,3)(1,4)(1,5)(1,6) (2,1)(2,2)(2,3)(2,4)(2,5)(2,6) (3,1)(3,2)(3,3)(3,4)(3,5)(3,6) (4,1)(4,2)(4,3)(4,4)(4,5)(4,6) (5,1)(5,2)(5,3)(5,4)(5,5)(5,6) (6,1)(6,2)(6,3)(6,4)(6,5)(6,6) The space of X is {0, 1, 2, 3, 4, 5}. The p.m.f. of X is f(x) = if x = 0 if x = 1 if x = 2 if x = 3 if x = 4 if x = 5 6/36 = 1/6 10/36 = 5/18 8/36 = 2/9 6/36 = 1/6 4/36 = 1/9 2/36 = 1/18

6 (b) (c) Construct a bar graph of the p.m.f. and a probability histogram of the p.m.f. 012345 0/36 6/36 12/36 18/36 Find each of the following probabilities: P(X = 5) = P(X  3) = P(3 < X < 10) = P(X is an even integer) = f(5) = 2/36 = 1/18 f(3) + f(4) + f(5) = 12/36 = 1/3 f(4) + f(5) = 6/36 = 1/6 f(0) + f(2) + f(4) = 18/36 = 1/2

7 2. (a) (b) Consider Text Exercise 2.1-4. Answer part (a) of the exercise. The p.m.f. of X isf(x) = 1/10 for x = 0, 1, 2, …, 9 012345 0 1/10 6789 Use the worksheet Ungrouped in the Excel file Describe_Data to obtain a frequency distribution for the individual digits (available in Excel file Data_for_Students). Then comment on how closely the p.m.f. and the relative frequency distribution compare.

8 3. (a) An urn contains 4 clear marbles and 10 colored marbles. If 3 marbles are randomly selected without replacement, find each of the following probabilities: P(exactly 2 marbles are clear) = P(exactly 2 marbles are colored) = 14 3 4 2 10 1 14 3 4 1 10 2

9 P(at least one marble is colored) = 14 3 4 3 10 0 1 – (b)If 7 marbles are randomly selected without replacement, find each of the following probabilities: P(exactly 2 marbles are clear) = 14 7 4 2 10 5

10 P(exactly 2 marbles are colored) = P(at least one marble is colored) = P(between 2 and 4 marbles inclusive are clear) = 0 1 14 7 4 2 10 5 + 4 3 10 4 + 10 3

11 (c)Consider the random variable Q = “the number of clear marbles when 3 marbles are selected at random without replacement” with p.m.f. f(q). Find f(q), E(Q), and Var(Q). f(q) = E(Q) = Var(Q) = 14 3 4 q 10 3 – q if q =0, 1, 2, 3

12 (d)Consider the random variable V = “the number of clear marbles when 7 marbles are selected at random without replacement” with p.m.f. g(v). Find g(v), E(V), and Var(V). g(v) = E(V) = Var(V) = 14 7 4 v 10 7 – v if v = 0, 1, 2, 3, 4

13 (e)Consider the random variable W = “the number of colored marbles when 7 marbles are selected at random without replacement” with p.m.f. h(w). Find h(w), E(W), and Var(W). (Note that V + W = 7.) h(w) = E(W) = Var(W) = 14 7 10 w 4 7 – w if w =3, 4, 5, 6, 7

14 Section 2.1 Important definitions in the text: The definition of random variable and space of a random variable Definition 2.1-1 The definition of probability mass function (p.m.f.) for a random variable Definition 2.1-2 Suppose a set contains N = N 1 + N 2 items, where N 1 items are of one type, N 2 items are of another type, and n items are selected from the N items at random and without replacement. If the random variable X is defined to be the number of selected n items that are from the N 1 items, then X is said to have a hypergeometric distribution. The p.m.f. of X is

15 The p.m.f. of X is f(x) = N n N n N1 xN1 x N 2 n – x if x is a nonnegative integer such that x  and n – x  N2N2 min{n, N 1 }


Download ppt "Section 2.1 Important definitions in the text: The definition of random variable and space of a random variable Definition 2.1-1 The definition of probability."

Similar presentations


Ads by Google