Skip to content

Instantly share code, notes, and snippets.

@Gijs-Koot
Created October 13, 2016 12:52
Show Gist options
  • Save Gijs-Koot/34b48ccbad37f27858f27fd35e593eb8 to your computer and use it in GitHub Desktop.
Save Gijs-Koot/34b48ccbad37f27858f27fd35e593eb8 to your computer and use it in GitHub Desktop.

http://andrewgelman.com/wp-content/uploads/2012/11/frequentists_vs_bayesians.png

Question 1

There are three types of coins which have different probabilities of landing heads when tossed.

  • Type A coins are fair, with probability .5 of heads
  • Type B coins are bent and have probability .6 of heads
  • Type C coins are bent and have probability .9 of heads

Suppose I have a drawer containing 4 coins: 2 of type A ,1 of type B ,and 1 of type C .I reach into the drawer and pick a coin at random. Without showing you the coin I flip it once and get heads. What is the probability it is type A? Type B? Type C?

Question 2

You're about to get on a plane to Seattle. You want to know if you should bring an umbrella. You call 3 random friends of yours who live there and ask each independently if it's raining. Each of your friends has a 2/3 chance of telling you the truth and a 1/3 chance of messing with you by lying. All 3 friends tell you that "Yes" it is raining. What is the probability that it's actually raining in Seattle?

Question 3

You test two types of buttons on your website, version A and B. For version A, out of 100 visitors, 4 converted. For version B, 6 converted. Is version B better?

Question 4

You are a statistician during WWII. Tanks from the enemy camp were captured. Assume they are a random sample from all tanks produced. Assume you're on the allies side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment