Agent Smith said:
I don't know if my compliments are of any value, but it's such a well-written article. Thank you.
Thank you for that, I appreciate the feedback.
Agent Smith said:
We have something called a posterior distribution and highest posterior distribution. I didn't quite understand these. What are they?
Fair warning, this is well beyond basic. A lot of that is covered in the previous articles in that series. But basically the key idea is as follows:
We are going to treat uncertain things like population means, and coin flip frequencies, directly as random variables. Thus they have their own associated probability density functions and so forth.
So, in this case, our uncertainty about the fairness is represented as a probability distribution on the frequency. If we were very certain that it is unfair then the probability distribution on the frequency might have a mean of 0.6 and a standard deviation of 0.02. If we thought it is fair, but we were not very certain about it, then maybe it would have a mean of 0.5 and a standard deviation of 0.2. In any case, the frequency is not just a number, but a probability distribution.
The posterior distribution is just the probability distribution after (posterior to) collecting the data. And the highest posterior density interval is the smallest interval you can make that contains 95% (or whatever level you choose) of the posterior.
Agent Smith said:
P(X∈[0.45,055])=0.95 would mean the probability that the random variable X = the frequency of tails, is in the range [0.045,0.55] is 95%. Correct?
Yes.
Agent Smith said:
Is there some kind of threshold probability here, like p-value?
Yes, you can do the same kinds of things. The Bayesian techniques are not as old as the usual ones, so they don’t have quite as many traditions, like p values of 0.05, but you can use that one if you like and it often reduces arguments to use “traditional” values like that.
Agent Smith said:
I guess what I'm asking for is a walkthrough of a Bayes' theorem based hypothesis test (my hypothesis being a coin is fair) which I can do at home
So first, you have to choose your ROPE. What would you consider to be close enough to fair that you would call it practically fair.
Second, you need to decide how confident you want to be that it is practically fair.