For quite a while I wondered why forecasting platforms don't just allow users to construct their own probability density functions by specifying moments and/or quantiles and inferring the "best" distribution by maximising entropy, so coded it here:
colab.research.google.com/dr…
2
9
Max-entropy use case #2:
Forecasting continuous quantities with given
• mean: 𝔼X=µ,
• variance: Var X=𝔼[(X-µ)^2],
• skewness/kurtosis/…,
• median/quantiles: P(X≤x)=𝔼[𝟙_{X≤x}]=q,
• probabilities: P(A)=𝔼[𝟙_{X∈A}],
• tails: all observables =O(x^k) → P ≈ e^{-c*x^k}
1
2
CLT: number of heads ≈ N(n/2,n/4).
68-95-99.7 rule: choose n such that two standard deviations = 2% of sample size, i.e. 2*√n/2=0.02*n → n=2500.
(Bound errors with Berry–Esseen if sceptical.)
This is known since de Moivre in 1738.
This is one of the most thoughtful write-ups I’ve seen on the Gambler’s Fallacy:
tandfonline.com/doi/pdf/10.1…
A MUST read to understand the psychology of probability, how to correctly apply conditional probability and the law of large numbers, etc.
(h/t @stevenstrogatz)
1
2
Children are hands down my favourite tourists: For some reason the single most amazing attraction in Venice seem to be fish.
1
1
A palace on stilts in the water?
Meh.
Gondolas with dressed up people?
Meh.
That toy their parents just bought?
Meh.
Fish in water?
HOLD MY (baby) BEER, SHIT'S ABOUT TO GET REAL!
1
1








