00:01
Here we have some excel commands.
00:03
Which of these would we use to get a continuous uniform distribution between 0 and 1? so first, what do we want this distribution to look like? a uniform distribution between 0 and 1 means that every value between these is equally likely to come up.
00:19
Outside this interval, it drops immediately to 0.
00:23
Since it is continuous, there are infinite possible values.
00:27
So let's look at these commands and see what they would give us.
00:33
First of all, a.
00:35
If rand is less than 1, 0.
00:39
So it will output 0 if you get something less than 1.
00:46
Since we're infinite possible values, the probability of getting exactly 1 is infinitesimally small, basically 0.
00:52
So this one would just always output a 0.
00:55
That's not going to be what we need here.
00:59
Next, we have 2 plus 2 minus 1 times rand.
01:03
Okay, so you would have 2 plus rand.
01:12
So this one here, rand, outputs a random value between 0 and 1 inclusive.
01:19
Adding 2 is going to mean it's not between 0 and 1.
01:22
It would be between 2 and 3.
01:26
Rand between 0, 1.
01:29
This one will output an integer between your low and high point.
01:37
So if you put 0 and 1 respectively, it will only possibly give you 0 or 1.
01:43
This isn't the answer because it's not a continuous distribution.
01:46
It will give you 0 or 1...