250 likes | 378 Views
Chapter 8 Random Variables and Probability Distributions I Random Sampling A. Population 1. Population element 2. Sampling with and without replacement. B. Random Sampling Procedures 1. Table of random numbers (from Appendix D.1). II Random Variables and Their Distributions
E N D
Chapter 8 Random Variables and Probability Distributions I Random Sampling A. Population 1. Population element 2. Sampling with and without replacement
B. Random Sampling Procedures 1. Table of random numbers (from Appendix D.1)
II Random Variables and Their Distributions A. Random Variable: A Numerically Valued Function Defined on a Sample Space 1. A function consists of two sets of elements and a rule that assigns to each element in the first set one and only one element in the second set. 2. Examples: {(a, 1), (b, 5), (c, 6)} {(Mike, tall), (Jim, short), (Joe, medium)} 3. If the second element is a number, the function is numerically valued.
4. A random variable associates one and only one number with each point in a sample space; thus, it is a numerically valued function defined on a sample space. Example: consider tossing a fair coin; points in the sample space can be associated with numbers on the real number line.
5. The random variable X is the name for any one of a set of permissible numerical values of a random experiment. 6. Discrete random variable: range can assume only a finite number of values or an infinite number of values that is countable. 7. Continuous random variable: range is uncountably infinite.
B. Probability Distribution 1. Probability distribution for tossing a fair coin X p(X = r) 0 1/2 1 1/2 2. Graph of the probability distribution
3. Three-section T maze 4. Correct series of turns: R L R
5. Number of ways of traversing the T maze: 2 2 2 = 8 (fundamental counting rule) _______________________ Turns Number of errors, X R, L, R 0 R, R, R 1 R, L, L 1 L, L, R 1 R, R, L 2 L, R, R 2 L, L, L 2 L, R, L 3 ______________________________
Probability Distribution for Number of Errors in the Three-Choice T Maze _________________________ Possible Values of the Random Variable X p(X = r) 0 .125 1 .375 2 .375 3 .125
6. Graph of the probability distribution for the Three- Choice T Maze C. Expected Value of a Discrete Random Variable E(X) = p(X1)X1 + p(X2)X2 + . . . + p(Xn)Xn= where p(X1) + p(X2) + . . . + p(Xn) = 1
1. For the T maze example, the expected value is E(X) = p(X1)X1 + p(X2)X2 +p(X3)X3 +p(X4)X4 = .125(0) + .375(1)+ .375(2) + .125(3) = 1.5
2. Expected value of a bet at the roulette table; you pay $1.00 to win $35.00. The wheel has 38 slots. Possible Winnings, Xi p(Xi) p(Xi)Xi + $35 1/38 1/38($35) = 35/38 – $1 37/38 37/38(–$1) = –37/38
D. Standard Deviation of a Discrete Random Variable 1. For the T maze example, the standard deviation, , is = 0.866
E. Expected Value of a Continuous Random Variable 1. A continuous random variable can assume an infinite number of values. The probability that a continuous random variable, X, has a particular value is zero. Hence, we refer to the probability that X lies in an interval between two values of the random variable.
2. Distribution for a continuous random variable The probability that X will assume a value between a and b is equal to the area under the curve between those two points.
III Binomial Distribution A. Three Characteristics of a Bernoulli Trial B. Binomial Distribution 1. Binomial random variable: number of successes observed on n ≥ 2 identical Bernoulli trials
2. Binomial function rule: probability of observing exactly r heads (successes) in n trials is given by p(X = r) = nCrprqn – r where p(X = r) is the probability that the random variable X equals r successes, nCris the combination of n objects taken r at a time, p is the probability of a success, and q = 1 – p is the probability of a failure.
3. Consider tossing n = five fair coins: the probability of observing r = 0, 1, . . . , 5 heads is
C. Expected Value and Standard Deviation of a Binomial Random Variable 1. Expected value 2. Standard deviation
3. For the coin tossing experiment where n = 5 and p = q = 1/2
D. Binomial Model Is Appropriate Under the Following Conditions 1. There are n trials involving a population whose elements belong to one of two classes 2. Probability of obtaining an element remains constant from trial to trial, as when sampling with replacement from a finite population 3. Outcomes of successive trials are independent
E. Two Other Models 1. Multinomial distribution is an extension of the binomial distribution for the case in which there are more than two classes. It is identical to the binomial distribution when there are only two classes. Probability of obtaining an element remains constant from trial to trial, as when sampling with replacement Outcomes of successive trials are independent
2. Hypergeometric distribution is appropriate for the case in which there are more than two classes but the probabilities associated with the classes do not remain constant as when sampling without replacement from a finite population.