00:01
In this exercise, we are given the scenario where 20 % of british children are considered deficient in vitamin d, and doctors are going to test a group of elementary school children.
00:14
So to begin, let's assume that these are bernoulli trials.
00:18
So for each trial, the child either has a vitamin d deficiency or not, so there's a kind of a success, failure type of outcome.
00:25
The probability of success is the same on each trial, which is 20%.
00:30
So we're defining success as a child being deficient in vitamin d.
00:36
And that each trial is independent from the others.
00:40
So the test for one child is independent for the test for any other child.
00:46
So with that in mind, in part a we are asked, what is the probability that the first vitamin d deficient child is the eighth one tested? so let's define x as the number of tests to find the first vitamin d deficient child.
01:22
So in this case, x is a geometric random variable with probability of success of 0 .2.
01:32
Recall that for a geometric random variable, the probability of the first success occurring on the kth trial is equal to the following.
01:50
So if we're looking for the probability of getting our first success on the eighth trial, this is the probability that the first vitamin d deficient child is the eighth one tested.
02:04
Equal to 0 .8 to the exponent 7 times 0 .2.
02:10
And this comes out to about 0 .042.
02:18
For part b, we are as the probability that all of the first 10 children tested are okay.
02:27
So here let's define x as the number of vitamin d deficient children in 10.
02:42
So the probability that all of the children, all 10 children are okay is the same as the probability that we have zero who are vitamin d deficient.
02:53
Now remember that the probability mass function for a binomial random variable, and this is, we're looking at the number of successes in 10 trials.
03:04
So x is a binomial based on 10 trials and probability of success of 0 .2.
03:12
We're considering a child to be deficient in vitamin d as a child.
03:16
Success.
03:18
So the probability mass function for getting k successes is n choose k times p to the exponent k times q to the exponent n minus k.
03:33
So here this simplifies to 0 .8 to the exponent 10, which is 0 .107.
03:43
So there's about a 10 .7 % chance that out of 10 children tested, none of them will be deficient in vitamin d.
04:00
We want to know how many kids are expected to be tested before finding one who has the vitamin d deficiency.
04:08
So now we are back to this definition of a random variable.
04:14
The number of tests to find the first vitamin d deficient child...