00:01
Hello, and ray, welcome back.
00:03
Okay, so we're going to do a question where you need to collect 30 to 50 pieces of data, 30 to 50 values.
00:13
And so one of the suggestions is to roll two dice.
00:17
So let's do that.
00:19
So what if i go to stat edit? now, i'm going to use this window, the stat edit, as if it were a spreadsheet.
00:31
So what you do is you go up to the top.
00:34
Top of the cell where you want to enter formula.
00:37
And now let me show you a little trick.
00:39
If i go to math probability random and let's say enter five, what's going to happen is you're going to get five randomly generated real numbers.
00:57
See, there it is in your list.
01:00
And they're going to be from zero to one.
01:01
It could include zero, but not one.
01:04
Okay.
01:05
All right.
01:05
So what i want to do is roll a die.
01:07
So i need integer values from 1 to 6.
01:11
So what i'm going to do is i'm going to do this instead.
01:13
I'm going to go to the top.
01:16
And i'm going to enter, whoops, sorry, clear.
01:23
I'm going to do math, probability, random.
01:29
Now i want 30 values, right? so i'm going to say 30 times 6.
01:39
So look what we get.
01:41
Now we get randomly generated real numbers between 0 and.
01:45
Five but not including five.
01:48
Sorry, zero and six, but not including six.
01:50
You can you five point something, get zero, but you're never going to get six.
01:56
So what if i take the integer part of that? i'm just going to get zero through five, and then i'm going to add one to that.
02:02
I'll get the one through six like a die roll.
02:05
Okay, so let's do that.
02:08
So let l1 be my first die roll.
02:10
I'll just do 30 values.
02:13
It's between 30 and 50.
02:17
Oops, i fill off the list.
02:20
There you go all right so this is what you do math probability random right just get your own data right so this is what we do let the calculator do it all right let's make 30 values um times the six right so i'm stretching that domain from zero to one to zero to six not including of six that includes of six now let's take the integer part of that so second insert math, num, five, okay? of all of that, so that'll give you the integers from zero to five plus the one.
03:10
It'll shift it, a horizontal shift, i guess you could think of it as, or vertical shift, whatever it is, from zero to one to one to six.
03:19
All right, let's see what we get.
03:23
And there you go.
03:23
So take a look at this list.
03:25
Now, you can write down these numbers if you're doing a report.
03:27
So just copy the roll one or die one.
03:31
Did 5 -2 -2 -5 -6 -6 -1 -5 -6 -6 -1 -5 -6 -4 -2 -1 and so forth just copy the whole thing all way down to the 30th value and then that's it right okay now let's go to the next column and let's do the same thing for die roll number two all right so it's going to be math num 5 okay of math probability one and i want 30 values.
04:06
It's got a match.
04:07
It's going to be the same amount.
04:08
Ln1 or l2 are going to get dimension mismatch errors on such.
04:13
Oops, not 300.
04:17
Times 6.
04:18
All right, that'll give you the integers from 0 to 5.
04:20
And then let's shift it plus 1.
04:23
Enter.
04:25
And there you go.
04:26
Now you've got the second die roll goes 6, 5, 4, 4.
04:29
So we're doing these simultaneously.
04:31
5 and 6 is 11.
04:32
2 and 5 is 7.
04:34
2 and 4 is 6 and so forth.
04:36
And that's what they want you to do.
04:37
See if this is a normally distributed distribution.
04:41
And this is an empirical.
04:42
This is empirical data.
04:44
Empirical data.
04:45
It's like an experiment with only a few trials...