00:01
All right, for this question, we're being asked to generate 50 random integers or 50 random digits from 0 to 9.
00:08
And i've done so here.
00:11
These are 50 completely random digits from 0 to 9.
00:16
And for part b, we're asked to guess what shape the distribution would be if we were to graph these in a relative frequency histogram.
00:25
So because these are going to be, these are in theory completely random.
00:30
Generated, that means that each digit has an equally likely chance of being selected.
00:36
And so our relative frequency histogram should look like this, where every digit from zero to nine has the same chance of being selected, which in this case is going to be 0 .1.
00:56
Because there is no bias towards any of them, they are all equally likely.
01:02
And so there's 10 digits.
01:04
So 1 divided by 10 gives us 0 .1, which is how frequently we should expect all of them to show up.
01:12
For part c, we're going to actually create the histogram based on the numbers that we selected.
01:18
And we've got that here.
01:20
So here is the number of times each digit showed up.
01:23
So the number is the digit zero showed up five times out of the 50.
01:27
The number one showed up six times out of the 50 and so on and so forth.
01:31
And if we look at the histogram, we can see that while they don't actually all match up exactly with what we would expect, the number zero was selected exactly five times, which is what we would expect, 0 .1 of the time...