STAT Wee Discussion Fall 7. A new flavor of toothpaste has been developed. It was tested by a group of people. Nine of the group said they lied the new flavor, and the remaining 6 indicated they did not. Five of the are selected at random to participate in an in-depth interview. a) What is the probability that of those selected for the in-depth interview lied the new flavor and did not? b) What is the probability that of those selected for the in-depth interview at least lied the new flavor?. If a fair 6-sided die is rolled 6 times, what is the probability that each possible outcome (,,,,, and 6) will occur exactly once?. A laboratory has rats, 7 white, 6 gray and brown. Suppose rats will be selected at random and assigned to an experimental drug. a) Find the probability that white, gray and brown rats were selected. b) Find the probability that white and gray rats were selected. c) Find the probability that all five rats selected have the same color. d) Find the probability that all five rats selected have different color.. Does a money have a better chance of rearranging or A L L S U U to spell A L U L U S A A B E G L R to spell A L G E B R A?
..-.- Suppose there are defective items in a lot (collection) of items. A sample of size is taen at random and without replacement. Let X denote the number of defective items in the sample. Find the probability that the sample contains a) Exactly one defective item. b) At most one defective item. 6 7. Sally sells seashells by the seashore. The daily sales X of the seashells have the following probability distribution: x f ( x ).... 6. a) Find the missing probability f ( ) = P ( X = ). b) Find the probability that she sells at least three seashells on a given day. c) Find the expected daily sales of seashells. d) Find the standard deviation of daily sales of seashells. 7. Suppose each shell sells for $.. However, Sally must pay $. daily for the permit to sell shells. Let Y denote Sally s daily profit. Then Y = X. e) Find the probability that Sally s daily profit will be at least $.. f) Find Sally s expected daily profit. g) Find the standard deviation of Sally s daily profit.
8. How much wood would a woodchuc chuc if a woodchuc could chuc wood? Let X denote the amount of wood a woodchuc would chuc per day (in cubic meters) if a woodchuc could chuc wood. Find the missing probability f ( ) = P ( X = ), the average amount of wood a woodchuc would chuc per day, E ( X ), and the variance Var ( X ). x f ( x )... 9. Initech does part of its business via Internet. However, because of the high traffic, the server that carries the company s website often crashes. The probability distribution of the number of server crashes per month, X, is given below: x f (x).... If the server does not crash, Initech s monthly profit from the website is $8,. However, each time the server crashes, Initech loses $,. Therefore, Initech s monthly profit from the website (in thousands of $) is Y = 8 X. Find Initech s average monthly profit from the website and its standard deviation.. onsider f ( x ) = x c, x =,,,,. a) Find c such that f ( x ) satisfies the conditions of being a p.m.f. for a random variable X. b) Find the expected value of X. c) Find P ( X is odd ).
. Find E ( X ) for the following discrete probability distributions: a) f ( ) = 8 7, f ( ) =, =,, 6, 8,. ( possible values of X are even non-negative integers:,,, 6, 8, ). Recall Wee Discussion Problem (a): this is a valid probability distribution. b) f ( ) = ln, f ( ) = ln!, =,,,. ( possible values of X are positive integers:,,,, ). Recall Wee Discussion Problem (b):this is a valid probability distribution.. Each of three balls is randomly placed into one of three bowls. Let X denote the number of empty bowls. a) Find the probability distribution of X. Hint : f ( ) = P ( X = ) and f ( ) = P ( X = ) are easier to find. b) Find E ( X ).. Let the random variable X be the number of days that a certain patient needs to be in the hospital. Suppose X has the p.m.f. x f ( x ) =, x =,,,. a) Find E ( X ), the expected number of days the patient needs to be in the hospital. b).-.- If the patient is to receive $ from the insurance company for each of the first two days in the hospital and $ for each day after the first two days, what is the expected payment for the hospitalization? "Hint": If the patient spends three days in the hospital, the payment is $.
. Suppose we roll a pair of fair 6-sided dice. Let X denote the sum of the outcomes on the two dice. onstruct the probability distribution of X and compute its expected value.. Suppose we roll a pair of fair 6-sided dice. Let Y denote the maximum (the largest) of the outcomes on the two dice. onstruct the probability distribution of Y and compute its expected value. 6. Suppose we roll a pair of fair 6-sided dice. Let Z denote the difference between the outcomes on the two dice. onstruct the probability distribution of Z and compute its expected value. 7. The birthday problem. A probability class has N students. a) What is the probability that at least students in the class have the same birthday? For simplicity, assume that there are always 6 days in a year and that birth rates are constant throughout the year. b) Use a computer of a calculator to find the smallest class size for which the probability that at least students in the class have the same birthday exceeds.. 8. a) How many ways are there to rearrange letters in the word STATISTIS? b) If three letters are selected at random from the word STATISTIS, what is the probability that the selected letters can be rearranged to spell AT? ( "Hint": The order of the selection is NOT important, the selection is done without replacement. ) That is, what is the probability that selected letters are A,, and T? c) If six letters are selected at random from the word STATISTIS, what is the probability that the selected letters can be rearranged to spell ASSIST?
9. Honest Harry introduced a new savings opportunity at Honest Harry s Used ar Dealership. A customer is offered the opportunity to roll four fair (balanced) 6-sided dice. If the customer rolls at least one 6, Honest Harry taes an extra $, off the price of the car. However, if the customer does not have a 6, an extra $, is added to the price of the car. What is the customer s expected savings from accepting this savings opportunity?. A box contains green and red marbles. A person draws a marble from the box at random without replacement. If the marble drawn is red, the game stops. If it is green, the person draws again until the red marble is drawn (note that total number of marbles drawn cannot exceed since there are only green marbles in the box at the start). Let the random variable X denote the number of green marbles drawn. a) Find the probability distribution of X. [ Hint: There are only possible outcomes for this experiment. It would be helpful to list these three outcomes ( three possible sequences of colors of marbles drawn ). It may be helpful to mae a tree diagram for this experiment. Remember that all ( three ) probabilities must add up to one. ] b) Suppose it costs $ to play the game, and the person gets $ for each green marble drawn. Is the game fair *? Explain. [ Hint: Find E(X), the average (expected) number of green marbles drawn per game. ] * In gambling or betting, a game or situation in which the expected value of the profit for the player is zero (no net gain nor loss) is commonly called a "fair game."
Answers:. A new flavor of toothpaste has been developed. It was tested by a group of people. Nine of the group said they lied the new flavor, and the remaining 6 indicated they did not. Five of the are selected at random to participate in an in-depth interview. a) What is the probability that of those selected for the in-depth interview lied the new flavor and did not? 9 6.7. b) What is the probability that of those selected for the in-depth interview at least lied the new flavor? 9 6 9 6.97.. If a fair 6-sided die is rolled 6 times, what is the probability that each possible outcome (,,,,, and 6) will occur exactly once? 6 6! 6 6 6 6 6 6 6 6..
. A laboratory has rats, 7 white, 6 gray and brown. Suppose rats will be selected at random and assigned to an experimental drug. a) Find the probability that white, gray and brown rats were selected. 7 6 W G B 7 6 6 =.979. b) Find the probability that white and gray rats were selected. 7 6 W G B 7 6 =.78. c) Find the probability that all five rats selected have the same color. P( all five rats have the same color ) = P( all five are white ) + P( all five are gray ) 7 6 7 6 6 = 7 =.899. OR P( all five rats have the same color ) = P( all five are white ) + P( all five are gray ) = 7 6 6 66 7 66 =.899. 66 d) Find the probability that all five rats selected have different color. P( all five rats selected have different color ) =. ( colors, rats )
. Does a money have a better chance of rearranging or A L L S U U to spell A L U L U S A A B E G L R to spell A L G E B R A? A L L S U U A L U L U S A A B E G L R A L G E B R A!!!! 8!!! 7!!!!! = ways.! = ways. Spelling A L G E B R A is twice as liely as spelling A L U L U S...-.- Suppose there are defective items in a lot (collection) of items. A sample of size is taen at random and without replacement. Let X denote the number of defective items in the sample. Find the probability that the sample contains a) Exactly one defective item. 7 9 =! 7!!! 9! 8! =!!! 9 9 8 9 =.9796. 98 b) At most one defective item. 7 7 9 = 7!! 7!!!! 9 98 = 9 8 9 9 8 98 = 7 9 =.9. 9 9
6 7. Sally sells seashells by the seashore. The daily sales X of the seashells have the following probability distribution: x f (x) x f (x) ( x ) f (x) x f (x)...67....6.....8...7....6.6...7. 6. a) Find the missing probability f ( ) = P ( X = ). f ( ) = [. +. +. +.] =.7 =.. b) Find the probability that she sells at least three seashells on a given day. P(X ) = P(X = ) + P(X = ) =. +. =.. c) Find the expected daily sales of seashells. E(X) = X = x all x f ( x) =.. d) Find the standard deviation of daily sales of seashells. σ X Var(X) x μ f ( x) =.7. σ all x OR x f ( x) =. (.) =.. =.7. X Var(X) E(X) all x X = SD(X) =. 7 =.9.
7. Suppose each shell sells for $.. However, Sally must pay $. daily for the permit to sell shells. Let Y denote Sally s daily profit. Then Y = X. e) Find the probability that Sally s daily profit will be at least $.. x y f (x) = f (y) $. $. $7. $. $7. P(Y ) = P(X ) =........ ( Sally s daily profit is at least $. if and only if she sells at least shells. ) f) Find Sally s expected daily profit. Y = E(Y) = $. E(X) $. = $.. $. = $.. ( On average, Sally sells. shells per day, her expected revenue is $7.. Her expected profit is $. since she has to pay $. for the permit. ) OR x y f (x) = f (y) y f (y) $. $. $7. $. $7.......9...8.7.. Y = E(Y) = y all y f ( y) = $..
g) Find the standard deviation of Sally s daily profit. Y = SD(Y) = SD(X) =.9 = $6.6. OR x y f (x) = f (y) ( y Y ) f (y) y f (y) $. $. $7. $. $7...... σ Y Var(Y) y μy f ( y) =.7. σ all y 6.87.6. 8.7.6.7. 9.8.6 8.9..7 6. OR y f ( y) = 6. (.) Y Var(Y) E(Y) all y = 6.. =.7. Y = SD(Y) =. 7 = $6.6.
8. How much wood would a woodchuc chuc if a woodchuc could chuc wood? Let X denote the amount of wood a woodchuc would chuc per day (in cubic meters) if a woodchuc could chuc wood. Find the missing probability f ( ) = P ( X = ), the average amount of wood a woodchuc would chuc per day, E ( X ), and the variance Var ( X ). x f ( x ) x f ( x ) x f ( x ).... 7....... 7. 7. f ( ) = [. +. +. ] =.. E ( X ) = x all x f ( x) = 7. E ( X ) = x all x f ( x) = 7. Var ( X ) = E ( X ) [ E ( X ) ] = 7 7 =.
9. Initech does part of its business via Internet. However, because of the high traffic, the server that carries the company s website often crashes. The probability distribution of the number of server crashes per month, X, is given below: x f (x) x f (x) x f (x)......9.8.....6 If the server does not crash, Initech s monthly profit from the website is $8,. However, each time the server crashes, Initech loses $,. Therefore, Initech s monthly profit from the website (in thousands of $) is Y = 8 X. Find Initech s average monthly profit from the website and its standard deviation. E ( X ) = x all x f ( x) =.. E( X) f ( x) E( X Var ( X) E( X ) x ) =.6 (. ) =.6. all x SD ( X ) =. 6 =.8. E ( Y ) = 8 E ( X ) = 8. = 8. $8,. SD ( Y ) = SD ( X ) =.8 =. $,.
. x onsider f ( x ) = c, x =,,,,. a) Find c such that f ( x ) satisfies the conditions of being a p.m.f. for a random variable X. c c c c = f ( x ) = f ( ) + f ( ) + f ( ) + f ( ) + =... all x c first term = = c =. base c =. b) Find the expected value of X. E ( X ) = x all x f ( x) =.... E ( X ) =.... E ( X ) =... =. E ( X ) =.. OR Geometric distribution with p =. E ( X ) = =.. p
c) Find P ( X is odd ). P ( X is odd ) = f ( ) + f ( ) + f ( ) + f ( 7 ) + =... 7 = first term base = = = =.8. OR P ( X is odd ) = f ( ) + f ( ) + f ( ) + f ( 7 ) + =.... 7 P ( X is even ) = f ( ) + f ( ) + f ( 6 ) + f ( 8 ) + =... 6 8 = P ( X is odd ). P ( X is odd ) + P ( X is even ) =. P ( X is odd ) =. P ( X is odd ) = =.8.
. Find E ( X ) for the following discrete probability distributions: a) f ( ) = 8 7, f ( ) =, =,, 6, 8,. ( possible values of X are even non-negative integers:,,, 6, 8, ). Recall Wee Discussion Problem (a): this is a valid probability distribution. E ( X ) = x p( x) = all x 7 6 8 + 8 6 8 E ( X ) = 9 6 + 6 8 8 E ( X ) = 9 + = 6 8 9 9 =. 9 E ( X ) =. OR 7 E ( X ) = x p( x) = all x 8 = 8 9 8 9 = EY =, 8 9 where Y has a Geometric distribution with probability of success p = 9 8. E ( X ) = EY 9 9 = =. 8 8 8
b) f ( ) = ln, f ( ) = ln!, =,,,. ( possible values of X are positive integers:,,,, ). Recall Wee Discussion Problem (b): this is a valid probability distribution. E ( X ) = x p ( x) = ( ln ) + all x ln! = ln + ln! = ln + ln ln! = ln + ln ln! = ln + ln e ln = ln.98.
. Each of three balls is randomly placed into one of three bowls. Let X denote the number of empty bowls. a) Find the probability distribution of X. Hint : f ( ) = P ( X = ) and f ( ) = P ( X = ) are easier to find. f ( ) = P ( X = ) = P ( no empty bowls ) = P ( one ball in each bowl ) = f ( ) = P ( X = ) = P ( two empty bowls ) = P ( all balls in one bowl ) = f ( ) = P ( X = ) = f ( ) f ( ) = 9 9 = 9 6. = 9. = 9. OR b) Find E ( X ). E ( X ) = x all x f x ( ) = 6 9 9 9 = 9 8
. Let the random variable X be the number of days that a certain patient needs to be in the hospital. Suppose X has the p.m.f. x f ( x ) =, x =,,,. a) Find E ( X ), the expected number of days the patient needs to be in the hospital. x f ( x ) x f ( x )......6.6.. = E ( X ) b).-.- If the patient is to receive $ from the insurance company for each of the first two days in the hospital and $ for each day after the first two days, what is the expected payment for the hospitalization? "Hint": If the patient spends three days in the hospital, the payment is $. x payment f ( x ) payment f ( x ) $. 8 $. $. $6. 6 $6 = E ( payment )
. Suppose we roll a pair of fair 6-sided dice. Let X denote the sum of the outcomes on the two dice. onstruct the probability distribution of X and compute its expected value. (, ) (, ) (, ) (, ) (, ) (, 6 ) (, ) (, ) (, ) (, ) (, ) (, 6 ) (, ) (, ) (, ) (, ) (, ) (, 6 ) (, ) (, ) (, ) (, ) (, ) (, 6 ) (, ) (, ) (, ) (, ) (, ) (, 6 ) ( 6, ) ( 6, ) ( 6, ) ( 6, ) ( 6, ) ( 6, 6 ) x 6 7 8 9 f (x) / 6 / 6 / 6 / 6 / 6 6 / 6 / 6 / 6 / 6 / 6 / 6 E ( X ) = 7.
. Suppose we roll a pair of fair 6-sided dice. Let Y denote the maximum (the largest) of the outcomes on the two dice. onstruct the probability distribution of Y and compute its expected value. (, ) (, ) (, ) (, ) (, ) (, 6 ) (, ) (, ) (, ) (, ) (, ) (, 6 ) (, ) (, ) (, ) (, ) (, ) (, 6 ) (, ) (, ) (, ) (, ) (, ) (, 6 ) (, ) (, ) (, ) (, ) (, ) (, 6 ) ( 6, ) ( 6, ) ( 6, ) ( 6, ) ( 6, ) ( 6, 6 ) y f ( y ) y f ( y ) 6 / 6 / 6 / 6 7 / 6 9 / 6 / 6 / 6 6 / 6 / 6 8 / 6 / 6 66 / 6 E ( Y ) = 6 /6.7.
6. Suppose we roll a pair of fair 6-sided dice. Let Z denote the difference between the outcomes on the two dice. onstruct the probability distribution of Z and compute its expected value. (, ) (, ) (, ) (, ) (, ) (, 6 ) (, ) (, ) (, ) (, ) (, ) (, 6 ) (, ) (, ) (, ) (, ) (, ) (, 6 ) (, ) (, ) (, ) (, ) (, ) (, 6 ) (, ) (, ) (, ) (, ) (, ) (, 6 ) ( 6, ) ( 6, ) ( 6, ) ( 6, ) ( 6, ) ( 6, 6 ) z f ( z ) z f ( z ) 6 / 6 / 6 / 6 8 / 6 6 / 6 6 / 6 8 / 6 / 6 6 / 6 / 6 / 6 E ( Z ) = 7 /6 = /8.9.
7. The birthday problem. A probability class has N students. a) What is the probability that at least students in the class have the same birthday? For simplicity, assume that there are always 6 days in a year and that birth rates are constant throughout the year. P ( all N students have birthdays on different days ) = 6 6 6 6 N... = 6 6 6 6 P N. N 6 6 b) Use a computer of a calculator to find the smallest class size for which the probability that at least students in the class have the same birthday exceeds.. (obviously) 6.86.7 7.8.8 8.69.66 9.799.76.8 6.6.688 7.66.769 8.7.797 9.96.8.698.687. 6.98.67 7.6689.9 8.66. 9.68969.9.766
8. a) How many ways are there to rearrange letters in the word STATISTIS? letters: A,, I, S, T.!!!!!! =,. OR 9 8 6 = 9 8 =,. b) If three letters are selected at random from the word STATISTIS, what is the probability that the selected letters can be rearranged to spell AT? ( "Hint": The order of the selection is NOT important, the selection is done without replacement. ) That is, what is the probability that selected letters are A,, and T? = = =.. c) If six letters are selected at random from the word STATISTIS, what is the probability that the selected letters can be rearranged to spell ASSIST? 6 = =.87.
9. Honest Harry introduced a new savings opportunity at Honest Harry s Used ar Dealership. A customer is offered the opportunity to roll four fair (balanced) 6-sided dice. If the customer rolls at least one 6, Honest Harry taes an extra $, off the price of the car. However, if the customer does not have a 6, an extra $, is added to the price of the car. What is the customer s expected savings from accepting this savings opportunity? 6 P(no 6 ) =.8. 6 6 6 6 96 6 67 P(at least one 6 ) = P(no 6 ) =.77. 96 96 Let X denote the amount saved by the customer. Then X has the following probability distribution: x p(x) x p(x),, E(X) $.. 6 96 67 96 8. 7.7.
. A box contains green and red marbles. A person draws a marble from the box at random without replacement. If the marble drawn is red, the game stops. If it is green, the person draws again until the red marble is drawn (note that total number of marbles drawn cannot exceed since there are only green marbles in the box at the start). Let the random variable X denote the number of green marbles drawn. a) Find the probability distribution of X. [ Hint: There are only possible outcomes for this experiment. It would be helpful to list these three outcomes ( three possible sequences of colors of marbles drawn ). It may be helpful to mae a tree diagram for this experiment. Remember that all ( three ) probabilities must add up to one. ] Outcomes x f ( x ) x f ( x ) R / =.6. G R / / = 6 / =.. G G R / / / = 6 /6 =.... for part (b) b) Suppose it costs $ to play the game, and the person gets $ for each green marble drawn. Is the game fair *? Explain. [ Hint: Find E(X), the average (expected) number of green marbles drawn per game. ] X = E(X) = x all x f ( x) =.. That is, on average, you get. green marbles per game. At $ per green marble, you win $ per game, on average. Since it costs $ to play the game, on average, you brea even. The game is fair. * In gambling or betting, a game or situation in which the expected value of the profit for the player is zero (no net gain nor loss) is commonly called a "fair game."
OR Let Y denote the net gain from playing game. Then Y = X. Y = E(Y) = E(X) =. = $. The game is fair since the expected net gain is $. (i.e. on average, in the long run, you do not gain or do not lose money). OR Let Y denote the net gain from playing game. Then Y = X. x y f ( x ) = f ( y ) y f ( y ).6....... The game is fair since the expected net gain is $. (i.e. on average, in the long run, you do not gain or do not lose money).