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
E.g. prescribing only the mean (O(x)) on the positive reals gives the exponential distribution with tail e^{-c*x}. Prescribing only a finite mean and variance (O(x^2)) on the reals gives the normal distribution with tail e^{-c*x^2}.
1
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
Pretending that mathematicians still find this surprising is odd. Pretending we needed "the computer age" to arrive at this conclusion, while hiding the actually easy calculations to arrive at 2500, is being blatantly dishonest.
1
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
Also, you think [your city of choice] is dangerous? Try Venice. One afternoon of strolling around and you get to watch tourists in boats getting knocked out by bridges, others forgoing the need of bridges altogether and plunging right into the canals for that unique selfie spot.
History may or may not repeat itself, but the news certainly does. Communism/Socialism failing in Venezuela: ✓ China's geopolitical influence: ✓ Migrants in Europe: ✓ Immigration laws in US: ✓ Recessions: ✓ Censorship: ✓ [Book of the Year 1966]
1
1
2