00:01
All right, so for this question, we were given an xy table that shows the number of automatic weapons registered, and why is the number of murders, the murder rate.
00:15
So what i did was i put all of the x variables into a list.
00:19
You can do this in excel, you can do it in a calculator, but i put them all on a list in my calculator, and put the ys in another list, and then i ran a regression.
00:29
To do it on my calculator, it's the lin -reg function.
00:35
Depends on what program you're using.
00:38
But i just run the lin -reg function.
00:40
It gave me a value for a, which is the intercept, and it gave me a value for b, which is the slope, which means that i can then make my regression equation is going to be y equals a plus b -x.
01:01
What that means is the a is like the starting value, and then each time x increases by 1, we increase y by .85.
01:10
So for a down here, how many murders can be expected in a state with 5 .2 ,000 automatic weapons? so that means x equals 5 .2...