by mg · 3y ago · 0 comments
Mine is
n/(n+x)
It has a bunch of interesting aspects: As n gets bigger, it goes from 0 to 1.
When n equals x, it is 0.5
As n gets bigger, the difference between n and n+1 gets smaller
For two sufficiently large n's, the results are equal.
Say somebody told you about a new cafe in town and that it is completely awesome. The best cafe ever. What probability do you assign to it really being an exceptionally awesome cafe? If your x is 3, then the probability after one person praised it is 25%: 1/(1+3) = 0.25
And if another person told you about that cafe being awesome, the probability becomes 40%: 2/(2+3) = 0.4
And after 3 people told you the cafe is awesome, chances are 50% it really is: 3/(3+3) = 0.5
The changes in probability are pretty strong at the beginning. But after 1000 people reported about the awesome cafe, the next report makes almost no difference anymore. It only ups the probability from 0.997008 to 0.997011.By changing x from 3 to 4, your formula becomes more "suspicious", by changing it from 3 to 2, it becomes more "gullible".
I wonder if this formula has a name already. If not, "the trust formula" might be a candidate.
Essentially if you have a Beta(a, b) prior then your prior mean is a/(a+b) and after observing n samples from a Bernoulli distribution that are all positive, your posterior is Beta(a+n, b) with posterior mean (a+n)/(a+n+b). So in your example you effectively have a Beta(0, x) prior and x (“suspicious”/“gullible”) is directly interpreted as the strength of your prior!
beta distribution
conjugate
prior
binomial distribution
bernoulli distribution
posterior
?Because I could easily grasp that it is a "trust formula" in the way mg described it. But this way to "view" the formula is a mistery to me.
The probability machinery (Bayes rule) is a principled way to do this, and in the case of count data (number of positive reviews for the cafe) works out to give be a simple fraction n/(n+x).
Define: x = parameter of how skeptical you are in general about the quality of cafes (large x very sceptical), m = number of positive reviews for the cafe,
p = m+1 / (m+1+x) your belief (expressed as a probability) that the cafe is good after hearing m positive reviews about it.
Learning about the binomial and the beta distribution would help you see where the formula comes from. People really like Bayesian machinery, because it has a logical/consistent feel: i.e. rather than coming up with some formula out of thin air, you derive the formula based on general rules about reasoning under uncertainty + updating beliefs.
You're asking "Can this way of viewing the formula in terms of Bayesian probability be expressed without any of the machinery of Bayesian probability?".
Perhaps you only define the trust function from n=1+
For a cafe aficionado, who spends most of their time in cafes, reading HN and thinking about formulas, the probability that some random cafe becomes their new favorite is virtually zero.
In other words: The more cafes you already know, the closer to zero the chance that a random one will be the best of them all.
So yeah, it is a formula for cafe lovers. Not for the casual person who is happy with a random filtered coffee swill from the vending machine. Those would have to add a base probability, turning the formula into something like b+n/(n+x)*(1-b).
(s + 1)/(n + x)
E.g. for prior probability 1/2 (success and failure initially equally likely), x=2, so
(s + 1)/(n + 2)
If it's intrinsic, then yes, the probability that it is awesome should not be zero if you've never heard of it. It's awesomeness exists independently of any measurement. But, by definition, you can't know it's awesomeness until you measure it, so awesomeness quotients only matter after they've been measured. And a measured value value must be expressible/observable outside the system (i.e. extrinsic).
A neat explainer for how this helps with Bayesian updates (which is the update in trust that you're describing) is here - https://www.lesswrong.com/posts/QGkYCwyC7wTDyt3yT/0-and-1-ar...
it looks like it is a two argument function