Question

In: Statistics and Probability

2. a) Suppose that a bag contains six slips of paper: one with the number 1...

2.

a) Suppose that a bag contains six slips of paper: one with the number 1 written on it, two with the number 2, and three with the number 3. What is the expected value of the number drawn if one slip is selected at random from the bag? Type your answer as a fraction. Ex: 5/2

b) For the question above, what is the variance of the number drawn if one slip is selected at random from the bag? Type your answer as a fraction. Example: 5/2.

3. What is the probability that a random person who tests positive for a certain blood disease actually has the disease, if we know that 1% of the population has the disease, that 95% of those who have the disease test positive for it, and 2% of those who do not have the disease test positive for it. Type your answer as a decimal to the nearest thousandth. Example 0.233.

Solutions

Expert Solution

a)

Probability of selecting any slip with number 1 , P(X = 1) = 1/6

Probability of selecting any slip with number 2 , P(X = 2) = 2/6

Probability of selecting any slip with number 3 , P(X = 3) = 3/6

Expected value of the number drawn, E(X) = = 1 * (1/6) + 2 * (2/6) + 3 * (3/6) = (1 + 4 + 9)/6 = 14/6 = 7/3

b)

= = (1 + 8 + 27)/6 = 36/6 = 6

variance of the number drawn =

3.

P(disease) = 0.01

P(positive | disease) = 0.95

P(positive | ~disease) = 0.02

By law of total probability,

P(positive) = P(disease) P(positive | disease) + P(~disease) P(positive | ~disease)

= 0.01 * 0.95 + (1 - 0.01) * 0.02

= 0.0293

probability that a random person who tests positive for a certain blood disease actually has the disease

= P(disease | positive) = P(positive | disease)  P(disease) / P(positive) (Bayes Theorem)

= 0.95 * 0.01 / 0.0293

= 0.3242321


Related Solutions

A box contains five slips of paper. These slips are marked $1, $1, $1, $10, and...
A box contains five slips of paper. These slips are marked $1, $1, $1, $10, and $25. The winner of a contest will select two slips of paper at random with replacement and will then get the larger of the dollar amounts on the two slips. Define a random variable W=the amount awarded. (a) Determine the probability distribution of W (write out the pmf). (b) What is the least probable outcome for the amount won? (c) What is the expected...
An academic department has just completed voting by secret ballot for a department head. The ballot box contains four slips with votes for candidate A and three slips with votes for candidate B. Suppose these slips are removed from the box one by one.
An academic department has just completed voting by secret ballot for a department head. The ballot box contains four slips with votes for candidate A and three slips with votes for candidate B. Suppose these slips are removed from the box one by one.(a) List all possible outcomes.(b) Suppose a running tally is kept as slips are removed. For what outcomes does Aremain ahead of B throughout the tally?
A bag contains 3 red marbles, 1 green one, 1 lavender one, 2 yellows, and 3...
A bag contains 3 red marbles, 1 green one, 1 lavender one, 2 yellows, and 3 orange marbles. How many sets of five marbles include at least two red ones? A bag contains 3 red marbles, 3 green ones, 1 lavender one, 3 yellows, and 2 orange marbles. How many sets of five marbles include at most one of the yellow ones? A bag contains 2 red marbles, 2 green ones, 1 lavender one, 3 yellows, and 3 orange marbles....
Bag 1 contains 3 red balls and 7 green balls. Bag 2 contains 8 red balls...
Bag 1 contains 3 red balls and 7 green balls. Bag 2 contains 8 red balls and 4 green balls. Bag 3 contains 5 red balls and 11 green balls. Bag 1 is chosen twice as often as either Bag 2 or Bag 3 (which have the same probability of being chosen). After a bag is chosen, a ball is chosen at random from that bag. Calculate the probability that: a) a red ball is chosen b) a red ball...
A bag contains 4 red marbles, 2 green ones, 2 white ones, and 1 purple one....
A bag contains 4 red marbles, 2 green ones, 2 white ones, and 1 purple one. Michelle reaches into the bag and grabs 5 of the marbles. 1) Find the probability that she has 2 red ones and 1 of each of the other colors. 2) Find the probability that she has at least 1 green marble. Express your answers as simplified fractions using the forward slash. Ex: 1/2
A bag contains 2 red marbles, 5 green ones, 1 lavender one, 6 yellows, and 2...
A bag contains 2 red marbles, 5 green ones, 1 lavender one, 6 yellows, and 2 orange marbles. HINT [See Example 7.] How many sets of five marbles include either the lavender one or exactly one yellow one but not both colors?
I have two bags. Bag 1 contains 10 blue marbles, while Bag 2 contains 15 blue...
I have two bags. Bag 1 contains 10 blue marbles, while Bag 2 contains 15 blue marbles. I pick one of the bags at random and add 6 red marbles in it. Then I shake the bag and choose 5 marbles (without replacement) at random from the bag. If there are exactly 2 red marbles among the 5 chosen marbles, what is the probability that I have chosen Bag 1?
a bag contains six apples. four of the apples are good and two of the apples...
a bag contains six apples. four of the apples are good and two of the apples are rotten. an apple is selected at random and is removed from the bag. then a second apple is randomly selected from the apples remaining in the bag. find the probability that: a.) both of the apples are rotten. b.) only one of the two apples is good c.) the first apple is rotten given that the second apple is good
A bag contains two orange and six black balls. You take two balls from the bag,...
A bag contains two orange and six black balls. You take two balls from the bag, one by one, with replacement. How many orange balls do you expect to get?
Suppose that a bag of scrabble tiles contains 5 Es, 4 As, 3 Ns and 2...
Suppose that a bag of scrabble tiles contains 5 Es, 4 As, 3 Ns and 2 Bs. It is my turn and I draw 4 tiles from the bag without replacement. Assume that my draw is uniformly random. Let C be the event that I got two Es, one A and one N. (a) Compute P(C) by imagining that the tiles are drawn one by one as an ordered sample. (b) Compute P(C) by imagining that the tiles are drawn...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT