Statistics

Spring 2016
course
navigation

Mar 3

quiz 1

... during about the first half of class.

aside

http://www.nytimes.com/elections/results

probability games

One more assignment before the break :
Here are a few examples of what Matt's class did in 2014 .
We can use R to simulate these sorts of games, and from those numerical experiments see what's going on.
Here's Matt's R code to simulate pig
And here's mine:
Doing this in R is essentially a programming task which is, I expect, outside the scope of what this course will cover. But you may be able to adopt Matt's script for your game.

starting chapter 3 - the bell curve

If there's time, start talking about the "normal" or "bell" or "gaussian" probability distribution.
One way to get at it: flipping a coin and counting the number of heads.
Discuss this pattern (Pascal's triangle)
1 1 1 1 2 1 1 3 3 1 1 4 6 4 1

... and what it has to do with this situation.
What will the hundreth line look like?
# R code # The choose(n, m) function gives the m'th element # of the n'th row of Pascal's triangle, which is # also the number of ways to choose m things from a pile of n of them. > x = 0:100 # 0, 1, 2, 3, 4, ...., 100 > y = choose(100, x) # 100'th row of Pascal's triangle > plot(x, y) # the binomial distribution - approximately normal > plot(x[25:75], y[25:75]) # just the middle part
The normal curve is a universal, special distribution which shows up all over : any probability distribution (even the coin flip [0.5, 0.5]) will turn into a normal distribution if it is added together many times.
http://cs.marlboro.edu/ courses/ spring2016/statistics/ notes/ Mar_3
last modified Tuesday March 8 2016 12:48 am EST