#
Stats Bootcamp - class 10
Stats intro and history
Let’s flip a fair coin
Flip a coin 5 times with equal prob of H or T
Again
. . .
Set a seed
#
Let’s flip an unfair coin
Flip a coin 5 times with equal prob of H or T
Again
Let’s summarize the flipping results
Flip a fair coin 10
Flip a fair coin 10 and calculate mean
Again
. . .
Unfair coin
Unfair coin, again
Let’s go wild flipping
Flip a fair coin 10 times and calculate mean. Then do 5 rounds of that experiment.
. . .
Same thing for an unfair coin.
Tidy and visualize flips
make a dataframe with means and accompanying info
. . .
plot it