Some r code:
diceroll=c()
for(i in 1:10000){diceroll<-c(diceroll,sum(sample(1:6,2,replace=TRUE)))}
hist(diceroll,breaks=bins,col="forestgreen")
diceroll.12=c()
for(i in 1:10000){diceroll.12<-c(diceroll.12,sample(1:12,1))}
hist(diceroll.12,breaks=bins,col="forestgreen")
A friend says he can tell you what a coin will be flipped before it happens. You test him 10 times and he gets 7 right. Should you believe him?
what are the odds by chance?
setting an alpha
finding a p-value
a decent article on dealing with p-value at a deeper level.
Boxes
sampling issues
standard deviation
finding a confidence interval and what it means.