Question

Assume that 13% of people are left handed. If we select 5 people at random, find...

Assume that 13% of people are left handed. If we select 5 people at random, find the probability below: a) the first lefty is the fifth person chosen = .0745 b) the first lefty is the second or third person = .211 How do you solve both problems in R?

Homework Answers

Answer #1

a)

Let X be the number of person chosen until we get the first lefty. Then X will follow Geometric distribution with the parameter p = 0.13. That is X ~ Geometric(p = 0.13)

The PMF of X is,

P(X = k) = (1 - 0.13)k-1 * 0.13 = 0.13 * 0.87k-1    for k = 1, 2, ..

Using R, you can use either above PMF or Geometric distribution function to get the value.

> 0.13 * 0.87^(5-1)
[1] 0.07447669

or,

> dgeom(4, 0.13)
[1] 0.07447669

You need to pass x = 4 in dgeom function as the x is defined as number of failures for geometric distribution defined in R. So, to find the 5th person as lefty, we have found 4 (failures) right handed person.

b)

Probability that the first lefty is the second or third person = P(X = 2) + P(X = 3)

= 0.13 * 0.872-1 + 0.13 * 0.873-1

Using R, you can use either above PMF or Geometric distribution function to get the value.

> 0.13 * 0.87^(2-1) + 0.13 * 0.87^(3-1)
[1] 0.211497

or,

> dgeom(1, 0.13) + dgeom(2, 0.13)
[1] 0.211497

As in part (a), number of failures are x = 1 or x = 2.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Assume that 13% of people are left-handed. If we select 5 people at random, find the...
Assume that 13% of people are left-handed. If we select 5 people at random, find the probability of each outcome described below. a) The first lefty is the fifth person chosen. b) There are some lefties among the 5 people. c) The first lefty is the second or third person. d) There are exactly 3 lefties in the group. e) There are at least 3 lefties in the group. f) There are no more than 3 lefties in the group.
2) Assume that 13% of people are left-handed. If we select 5 people at random, find...
2) Assume that 13% of people are left-handed. If we select 5 people at random, find the probability of each outcome described below. a. The first lefty is the fifth person chosen. b. There are some lefties among the 5 people. c. There are exactly 3 lefties in the group d. There are at least 3 lefties in the group e. There are no more than 3 lefties in the group f. How many lefties do you expect? g. With...
A manufacturer of game controllers is concerned that their controller may be difficult for left handed...
A manufacturer of game controllers is concerned that their controller may be difficult for left handed users. They set out to find lefties to test. About 15% of the population is left handed. If they select a sample of five customers at random in their stores, what is the probability of each of the following outcomes? a. The first lefty is the fifth person chosen b. There are some lefties among the 5 people c. The first lefty is the...
Assume that 42% of people are left-handed. If we select 5 people at random, find the...
Assume that 42% of people are left-handed. If we select 5 people at random, find the probability of each outcome described below, rounded to four decimal places: a. There are some lefties (≥ 1) among the 5 people. b. There are exactly 3 lefties in the group. c. There are at least 4 lefties in the group. d. There are no more than 2 lefties in the group. e. How many lefties do you expect? f. With what standard deviation?
Assume that 61% of people are left-handed. If we select 5 people at random, find the...
Assume that 61% of people are left-handed. If we select 5 people at random, find the probability of each outcome described below, rounded to four decimal places: a. There are some lefties (≥ 1) among the 5 people. b. There are exactly 3 lefties in the group. c. There are at least 4 lefties in the group. d. There are no more than 2 lefties in the group. e. How many lefties do you expect? f. With what standard deviation?
Assume that 12% of people are left-handed. If we select 5 people at random, find the...
Assume that 12% of people are left-handed. If we select 5 people at random, find the probability of each outcome described below, rounded to four decimal places: a. There are some lefties (≥ 1) among the 5 people. b. There are exactly 3 lefties in the group. c. There are at least 4 lefties in the group. d. There are no more than 2 lefties in the group. e. How many lefties do you expect? f. With what standard deviation?
Assume that 32% of people are left-handed. If we select 5 people at random, find the...
Assume that 32% of people are left-handed. If we select 5 people at random, find the probability of each outcome described below, rounded to four decimal places: a. There are some lefties ( ≥ 1) among the 5 people. b. There are exactly 3 lefties in the group. c. There are at least 4 lefties in the group. d. There are no more than 2 lefties in the group. e. How many lefties do you expect? f. With what standard...
Assume that 64% of people are left-handed. If we select 5 people at random, find the...
Assume that 64% of people are left-handed. If we select 5 people at random, find the probability of each outcome described below, rounded to four decimal places: a. There are some lefties (≥ 1) among the 5 people. b. There are exactly 3 lefties in the group. c. There are at least 4 lefties in the group. d. There are no more than 2 lefties in the group. e. How many lefties do you expect? f. With what standard deviation?
Assume that 20% of people are left-handed. If we select 5 people at random, find the...
Assume that 20% of people are left-handed. If we select 5 people at random, find the probability of each outcome described below, rounded to four decimal places: a. There are some lefties ( ≥ 1) among the 5 people. b. There are exactly 3 lefties in the group. c. There are at least 4 lefties in the group. d. There are no more than 2 lefties in the group. e. How many lefties do you expect? f. With what standard...
A manufacturer of game controllers is concerned that its controller may be difficult for​ left-handed users....
A manufacturer of game controllers is concerned that its controller may be difficult for​ left-handed users. They set out to find lefties to test. About 14​%of the population is​ left-handed. If they select a sample of 7 customers at random in their​ stores, what is the probability of each of the outcomes described in parts a through f ​below? A) The first lefty is the fifth person chosen. B) There are some lefties among the 7 people. C) The first...