Presentation is loading. Please wait.

Presentation is loading. Please wait.

Discrete Random Variables. Numerical Outcomes Consider associating a numerical value with each sample point in a sample space. (1,1) (1,2) (1,3) (1,4)

Similar presentations


Presentation on theme: "Discrete Random Variables. Numerical Outcomes Consider associating a numerical value with each sample point in a sample space. (1,1) (1,2) (1,3) (1,4)"— Presentation transcript:

1 Discrete Random Variables

2 Numerical Outcomes Consider associating a numerical value with each sample point in a sample space. (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) : 9 10 11 12 For example, associate each roll of 2 dice with the sum of their faces.

3 Random Variable A real-valued function whose domain is the sample space S is a random variable for the experiment. We refer to values of the random variable as events. For example, {Y = 9}, {Y = 10}, etc. : (3, 6) (4, 6) (5, 5) (6, 4) (5, 6) : : 9 10 11 12 S Y

4 Probability Y = y The probability of an event, such as {Y = 9} is denoted P(Y = 9). In general, for a real number y, the probability of {Y = y} is denoted P(Y = y), or simply, p( y). P(Y = y) is the sum of probabilities for sample points which are assigned the value y. When rolling two dice, P(Y = 10) = P({(4, 6)}) + P({(5, 5)}) + P({(6, 4)}) = 1/36 + 1/36 + 1/36 = 3/36

5 Discrete Random Variable A discrete random variable is a random variable that only assumes a finite (or countably infinite) number of distinct values. For an experiment whose sample points are associated with the integers or a subset of integers, the random variable is discrete. For an experiment whose sample points are associated with the reals or an interval of real numbers, the random variable is not discrete. (Chapter 4 considers “continuous random variables”.)

6 “Towards Statistics” Studying probability, we learn about certain types of random variables that occur frequently in practice and their probability distributions. Knowledge about the probabilities of these common random variables may help us make appropriate inferences about a population. (page 84). Remember, our theoretical models represent the distribution that may be expected but may differ from the actual frequencies resulting from an experiment. (page 87)

7 Probability Distribution A probability distribution describes the probability for each value of the random variable. Presented as a table, formula, or graph. y p(y) 2 1/36 3 2/36 4 3/36 5 4/36 6 5/36 7 6/36 8 5/36 9 4/36 10 3/36 11 2/36 12 1/36

8 Probability Distribution For a probability distribution: y p(y) 2 1/36 3 2/36 4 3/36 5 4/36 6 5/36 7 6/36 8 5/36 9 4/36 10 3/36 11 2/36 12 1/36 = 1.0 Here we may take the sum just over those values of y for which p(y) is non-zero.

9 Expected Value The “long run theoretical average” For a discrete R.V. with probability function p(y), define the expected value of Y as: In a statistical context, E(Y) is referred to as the mean and so E(Y) and  are interchangeable.

10 An average circle? Suppose a class has cut some circles out of construction paper, as described below. Radius(inches) frequency 3 150 4 200 6 125 Let radius be the random variable, R. Compute E(R).

11 Function of a Random Variable Suppose g(Y) is a real-valued function of a discrete random variable Y. It follows g(Y) is also a random variable with expected value syg(y) Y g(Y)S

12 Expected Circumference Consider the function C = 2  R. C is a function of a random variable, and so C is also a random variable. Radius(inches) circumference frequency 3 6  150 4 8  200 6 12  125 Compute the expected value, E(C).

13 For a constant multiple… Of course, a constant multiple may be factored out of the sum Thus, for our circles, E(C) = E(2  R) = 2  E(R).

14 For a constant function… In particular, if g(y) = c for all y in Y, then E[g(Y)] = E(c) = c.

15 For sums of variables… Also, if g 1 (Y) and g 2 (Y) are both functions of the random variable Y, then

16 All together now… So, when working with expected values, we have Thus, for a linear combination Z = c g(Y) + b, where c and b are constants:

17 Variance, V(Y) For a discrete R.V. with probability function p(y), define the variance of Y as: Here, we use V(Y) and   interchangeably to denote the variance. As previously, the positive square root of the variance is the standard deviation of Y.

18 Computing V(Y) Based on our definition of the variance of Y And applying our rules for expected value, we find variance may be expressed as (as the mean is a constant)

19 “Moments and Mass” Note the probability function p(y) for a discrete random variable is also called a “probability mass function”. The expected values E(Y) and E(Y 2 ) are called the first and second moments, respectively. Did you compute mass and moments in Calculus?

20 Variance of R? For our collection of circles, determine the variance of the random variable R Radius(inches) frequency 3 150 4 200 6 125 It’s your choice. Which formula is easier? or

21 Variance of C? For our collection of circles, determine the variance, Radius(inches) circumference frequency 3 6  150 4 8  200 6 12  125 It can be shown that


Download ppt "Discrete Random Variables. Numerical Outcomes Consider associating a numerical value with each sample point in a sample space. (1,1) (1,2) (1,3) (1,4)"

Similar presentations


Ads by Google