1. A box contains 54 red marbles, 9 white marbles, and 75 blue marbles. If a marble is randomly selected from the box, what is the probability that it is red or blue? Express your answer as a fraction or a decimal number rounded to four decimal places.

P(Red or Blue) = (# red + # blues)/# total = (54+75)/(54+9+75) = 129/138 = 0.9348

  1. You are going to play mini golf. A ball machine that contains 19 green golf balls, 20 red golf balls, 24 blue golf balls, and 17 yellow golf balls, randomly gives you your ball. What is the probability that you end up with a red golf ball? Express your answer as a simplified fraction or a decimal rounded to four decimal places.

P(Red) = # red / # total = 20/(19+20+24+17) = 20/80 = 0.25

  1. A pizza delivery company classifies its customers by gender and location of residence. The research department has gathered data from a random sample of 1399 customers. The data is summarized in the table below.

What is the probability that a customer is not male or does not live with parents? Write your answer as a fraction or a decimal number rounded to four decimal places.

P(NotMale or NotLiveParents) = P(Female) + P(Apt+Dorm+Sor_Frat+Other) - P(Female&NotLiveParents) = 728/1399 + 932/1399 - 476/1399 = 0.8463

  1. Determine if the following events are independent. Going to the gym. Losing weight.

Answer: A)Dependent B)Independent

Two events are dependent when the outcome of the first event influences the outcome of the second event. The probability of two dependent events is the product of the probability of X and the probability of Y AFTER X occurs.

Since Losing Weight can be influenced by Going to the gym and exercise there, therefore the events are A) Dependent

  1. A veggie wrap at City Subs is composed of 3 different vegetables and 3 different condiments wrapped up in a tortilla. If there are 8 vegetables, 7 condiments, and 3 types of tortilla available, how many different veggie wraps can be made?
Veggie_wraps = choose(8,3)*choose(7,3)*choose(3,1)
Veggie_wraps
## [1] 5880
  1. Determine if the following events are independent. Jeff runs out of gas on the way to work. Liz watches the evening news.

Answer: A)Dependent B)Independent

Two events are independent when the outcome of the first event does not influence the outcome of the second event.

Since Jeff running out of gas does not influence if Liz watches or not the evening news, therefore the events are B) Independent

  1. The newly elected president needs to decide the remaining 8 spots available in the cabinet he/she is appointing. If there are 14 eligible candidates for these positions (where rank matters), how many different ways can the members of the cabinet be appointed?
Cabinet = factorial(14)/factorial(14-8)
Cabinet
## [1] 121080960
  1. A bag contains 9 red, 4 orange, and 9 green jellybeans. What is the probability of reaching into the bag and randomly withdrawing 4 jellybeans such that the number of red ones is 0, the number of orange ones is 1, and the number of green ones is 3? Write your answer as a fraction or a decimal number rounded to four decimal places.

P(3_green & 1_ora & 0_red)

(choose(9,3)*choose(4,1)*choose(9,0))/choose(22,4)
## [1] 0.04593301
  1. Evaluate the following expression.

11!/7!

11x10x9x8x7!/ 7! = 7920

  1. Describe the complement of the given event. 67% of subscribers to a fitness magazine are over the age of 34.

P(over 34) = .67 (67%)

P(under_equal 34) = 1 - P(over 34) = .33 (33%)

  1. If you throw exactly three heads in four tosses of a coin you win $97. If not, you pay me $30. Step 1. Find the expected value of the proposition. Round your answer to two decimal places.
P_3heads <- choose(4,3)/2^4
P_Not3heads <- 1- P_3heads
E_X <- sum((97*P_3heads),(-30*P_Not3heads))
round(E_X,2)
## [1] 1.75

Step 2. If you played this game 559 times how much would you expect to win or lose? (Losses must be entered as negative.)

E_X * Trials = 1.75*559 = 978.25

  1. Flip a coin 9 times. If you get 4 tails or less, I will pay you $23. Otherwise you pay me $26. Step 1. Find the expected value of the proposition. Round your answer to two decimal places.
P_lte4tails <- sum(choose(9,4),choose(9,3),choose(9,2),choose(9,1),choose(9,0))/2^9
P_Notlte4tails <- 1- P_lte4tails
E_X <- sum((23*P_lte4tails),(-26*P_Notlte4tails))
round(E_X,2)
## [1] -1.5

Step 2. If you played this game 994 times how much would you expect to win or lose? (Losses must be entered as negative.)

E_X * Trials = -1.5*994 = -1491

  1. The sensitivity and specificity of the polygraph has been a subject of study and debate for years. A 2001 study of the use of polygraph for screening purposes suggested that the probability of detecting a liar was .59 (sensitivity) and that the probability of detecting a “truth teller” was .90 (specificity). We estimate that about 20% of individuals selected for the screening polygraph will lie.

  1. What is the probability that an individual is actually a liar given that the polygraph detected him/her as such? (Show me the table or the formulaic solution or both.)

P(Liar|Positive) = (P(Liar) \(\cap\) P(Positive))/P(Positive) = 0.118/0.198 = 0.596

  1. What is the probability that an individual is actually a truth-teller given that the polygraph detected him/her as such? (Show me the table or the formulaic solution or both.)

P(Liar|Positive) = (P(Truth) \(\cap\) P(Negative))/P(Negative) = 0.720/0.802 = 0.8978

  1. What is the probability that a randomly selected individual is either a liar or was identified as a liar by the polygraph? Be sure to write the probability statement.

P(Liar \(\cap\) Positive) = P(Liar) + P(Positive) - (P(Liar) \(\cap\) P(Positive)) = 0.2 + 0.198 - 0.118 = 0.28