00:01
So for this problem, the first thing that we want to do is generate our stratified sample with three values from each column.
00:06
Now keep in mind, of course, i have no way, i don't think at least, there's any way of setting the random seed on a ti -84.
00:14
I don't know off the top of my head if that's possible at least.
00:18
So i'm just going to be going with random integer generation, but your results will of course differ.
00:26
That being said, when we say random integer, if for instance we do randint 0 ,5, it will generate a random number between 0 and 5.
00:44
So, what we'll do here is we'll generate three different random numbers for each one of the columns, and then we'll select the corresponding value, the corresponding row, and consider that to be our sampled value.
01:06
So, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10.
01:11
So we'd want to generate a random number between 1 and 10 for each.
01:15
So we have 5, 1, 2, 3, 4, 5.
01:19
So our first value is 7, then we have 8, 1, 2, 3, 4, 5, 6, 7, 8.
01:32
So the 8th value is 8, and then 1, so we have a measurement of 5.
01:41
And we'd then continue along and do that for each one of our columns.
01:47
Because of the amount of time it takes and the fact that your numbers are going to differ anyways because these are being randomly generated, i'll stop there, but basically you just repeat that same process for each one of our six different columns.
02:00
Then, to generate a simple random sample of size 15, now what we'll have to note is that there are actually going to be a total of 60 different values to choose from.
02:15
If we're doing a simple random sample, then each individual measurement should have the same probability of being selected...