惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园_首页
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Microsoft Azure Blog
Microsoft Azure Blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Recent Announcements
Recent Announcements
L
Lohrmann on Cybersecurity
Vercel News
Vercel News
P
Palo Alto Networks Blog
P
Proofpoint News Feed
WordPress大学
WordPress大学
Know Your Adversary
Know Your Adversary
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
K
Kaspersky official blog
T
Threat Research - Cisco Blogs
GbyAI
GbyAI
L
LangChain Blog
Y
Y Combinator Blog
T
Tenable Blog
腾讯CDC
T
Tailwind CSS Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
NISL@THU
NISL@THU
A
Arctic Wolf
Security Latest
Security Latest
IT之家
IT之家
Latest news
Latest news
Cisco Talos Blog
Cisco Talos Blog
P
Privacy & Cybersecurity Law Blog
T
Tor Project blog
T
Threatpost
Simon Willison's Weblog
Simon Willison's Weblog
Last Week in AI
Last Week in AI
D
Darknet – Hacking Tools, Hacker News & Cyber Security
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
AWS News Blog
AWS News Blog
月光博客
月光博客
aimingoo的专栏
aimingoo的专栏
量子位
T
Troy Hunt's Blog
Blog — PlanetScale
Blog — PlanetScale
V
Vulnerabilities – Threatpost
I
InfoQ
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
C
Cyber Attacks, Cyber Crime and Cyber Security
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
I
Intezer
爱范儿
爱范儿
C
Cisco Blogs
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org

ashishb.net

A day in Luxembourg - the richest country in the world I was asked to install malware during a fake interview Book summary: Breakneck - China's quest to engineer the future by Dan Wang Book summary: How to Teach Your Baby to Read Book Summary: The Discontented Little Baby Book by Pamela Douglas Introducing Amazing Sandbox - run third-party tools and AI agents securely on your machine Why software outsourcing gets a bad reputation? Book summary: The Natural Baby Sleep Solution by Polly Moore A day in Antwerp, Belgium Journey of online influencers Two days in Brussels, Belgium Shortcuts - when we love them and when we don't A visit to Rakhigarhi Three days in overhyped Paris Empty Japan, crowded Tokyo The real lock-in in GitHub is not the code, but the stars 11-day Norwegian Breakaway East Caribbean cruise Sanskrit and Sri Lankan Air Force Use REST with Open API The Achilles heel of American capitalism Costa Rica in 4 days At a juice stall in Sri Lanka A short stay at Warsaw, Poland Best practices for using Python & uv inside Docker Two days in Vilnius, Lithuania How IntelliJ IDEs waste disk space Pregnancy Why there aren't many digital nomads from India Two days in Riga, Latvia To keep your machine secure, run third-party tools inside Docker Family Ties in Your DNA: Some relatives are closer than others Doctors per capita Two days in Tallinn, Estonia Ship tools as standalone static binaries Made in America Two days in Helsinki, Finland Maintaining an Android app is a lot of work The land of good deals Two days in Oslo, Norway FastAPI vs Flask performance comparison Google Search is losing to Perplexity Two days in Dublin, Ireland Continuous integration ≠ Continuous delivery World's simplest project success heuristic London in 5 days It is hard to recommend Python in production Inflation, IRS, Credit cards, and Vendors Temu and the Chinese approach Things to do in Miami Florida Revenue vs Cost Axis Language learning as an adult The unanchored babies of the green card limbo Price variance in the United States A day in Louisville, Kentucky A surprisingly positive experience with Air India Unhospitable Airports Android: Don't use stale views USA = Union of Sales and Advertisement A day in Nashville, Tennessee Minimize Javascript in your codebase A day in Birmingham, Alabama In defense of ad-supported products Real vs artificial world The science behind Punjabi singers Hiking Mt. Fuji The Indian startup bubble is insane Repairing database on the fly for millions of users Book Summary: One up on Wall Street by Peter Lynch It is hard to recommend Google Cloud At the Prague airport Kyoto in three days Migrating from WordPress to Hugo Book summary: Sick Societies by Robert B. Edgerton Statistical outcomes require statistical games Illegal immigrants to Europe via Cairo Tokyo in three days Mobs are Status Games Writing Script matters as much as the spoken language Sri Lanka in 5 days LLMs: great for business but bad business Book Summary: Safe Haven by Mark Spitznagel Mac shortcut for typing Avagraha symbol On a bus with an asylum seeker Nicaragua in 5 days When to commit Generated code to version control Why I always buy a local SIM in a foreign country Use Makefile for Android Four days in Guadalajara, Mexico Android Navigation: Up vs Back Hotels vs Airbnb vs Hostels Currency issues in Argentina Abstractions should be deep not wide Some data on podcasting Always support compressed response in an API service A day in El Calafate - Patagonia, Argentina Hermetic docker images with Hugging Face machine learning models American Elections The sound of "ch" API services should always have usage Limits Hiking in El Chaltén - trekking capital of Argentina
Book summary: How not to be wrong by Jordan Ellenberg
Ashish Bhatia · 2018-03-03 · via ashishb.net

Featured in Unearned Wisdom

The book focuses on the application of simple and profound maths to day-to-day life and how not to be deceived by mathematical traps.

Dividing one number by another is mere computation. Figuring out what to divide is mathematics.

The missing bullet holes

During the second world war, Americans were trying to decide where to add more armor to the plane. They could not add armor everywhere since it causes more consumption of the fuel. Air force concluded that the armor should go where the most bullets hit the plane. For that, they used the damaged planes returning to the base. Abraham Wald, a mathematician claimed the opposite. He concluded that since fewer planes with damaged engines are returning, therefore, more armor should be applied there since the planes with damaged engines don’t survive. We still see this survivorship bias, a study concluded that Large blend funds grew by 10.8% annually between 1995 and 2004 but once you take the dead funds, the rate falls to a more realistic 8.9% year over year. Lesson: Challenge the assumptions, especially, survivorship bias.

False linearity

People mistakenly (implicitly) assume that all lines are straight. If the obesity increased 1% last year than the same will happen over the coming years. That’s what a paper did, which concluded that 100% Americans will be obese by 2048, applying false linearity to the same data simultaneously concluded only 80% black men will be obese at that time. Lesson: Don’t assume that the rate of change of a quantity will remain same over time. If it’s linear it will but that assumption should be proved.

Noise in small data sets

Small datasets have more noise than signal. When brain cancer per capita numbers are listed for the 50 states of the US than South Dakota ranks among highest while North Dakota ranks among the least. Same happened to the North Carolina school testing system where, as a paper concluded, small schools ended up being best or the worst more often than the bigger ones since a few extremes (prodigies or slackers) caused a wide average swing. Lesson: When looking at the conclusion based out of a data set, do see how resistant that dataset is to noise.

Percentages of Negative numbers

Consider a decade, where technology sector gained 2 million jobs, finance gained 0.6 million, manufacturing lost 2 million jobs. One can add the numbers up and claim that net job gain is 0.6 million, therefore, finance job growth is 100% of the total job growth!!! Negative numbers don’t really play with percentages. Computation works but mathematical interpretations are incorrect. Percentages are fine for expenses, population, and similar quantities which are usually positive but not for quantities like profits or number of jobs which vary between positive and negative values. Lesson: Percentages should not be used with dataset involving negative numbers.

Patterns created by noise

Humans have an uncanny ability to see patterns generated purely by noise (ashishb’s note: See " Fooled by Randomness"). In 2009, a published paper demonstrated that even a dead salmon’s brain activity (noise) can correlate to human emotions provided you divide the brain into sufficient parts and have a wiggle room to choose a particular part after recording the activity. Large random datasets are bound to exhibit some patterns generated by noise. Similar mistakes have been done by Bible code believers who found patterns by selectively taking every fourth letter of certain passages to generate predictions. Financial companies incubate funds internally and after a few years, close the failed once and open the successful ones to public investment. Basketball fans believe in hot hands even though there is no statistical basis for them.

Statistical Observations

Human beings are quick to perceive patterns where they don’t exist. One way to be certain is the concept of p-value, first, define the random outcome (“null hypothesis”) for a large sample set, perform the experiment and if the outcome had very low likelihood (p-value) of happening than the pattern exists. Generally, p-value below 0.05 (5%) is considered good or “significant”. Do note that, p below 0.05 can always by chance too and that’s what leads to p-hacking in medical papers.

Expected Values

Expected value is the average value of a random over a large number of trials. MIT students figured out that the state lottery ticket had a higher expected value than its price and made profits on it.

Risk vs Uncertainty

Risk is quantifiable, uncertainty is not. If an urn has 30 red balls out of 90 with rest being yellow and black, and you pull a ball out, the risk of not being red is 2/3 but the chance of pulling a black ball is unquantifiable. Decision and utility theory can work on risks. People prefer risks over uncertain scenarios.

Regression to Mean

Any outcome impacted by chance regresses to mean. For example, really tall parents have kids who are usually not as tall as them. Best businesses of an era which are also lucky lose their luck over time and regress towards the mediocrity.

Correlation is not transitive

Correlation is like a blood-relation. A father is related to his son by blood, the son is related to the mother by blood but that it is wrong to conclude that the father-mother duo is related to each other by blood. Niacin (vitamin B) is correlated with higher HDL “good cholesterol”, higher HDL is correlated with better heart health but taking Niacin has no noticeable impact on heart health. In fact, net correlation can be negative. In women, while higher estrogen levels correlate to lower risk of the heart diseases, hormone replacement therapy with estrogen and progestin increases the risk of heart diseases. Rich Americans are correlated with rich states and rich states are correlated with voting for the Democrats but rich Americans, on the whole, do not vote for Democrats.

In women, while higher estrogen levels correlate to lower risk of the heart diseases, hormone replacement therapy with estrogen and progestin increases the risk of heart diseases.

Uncorrelated variables simply do not have the relationship that the correlation would have implied. They can still have other relations. A study designed to see do more informed American voters vote for Democrats or Republicans concluded that there is no correlation between being informed and voting for Democrat or Republican, which is correct. Except it turns out that the more informed voters were more polarized in their beliefs, uncorrelated but related.

Spurious Correlations

Berkson’s fallacy demonstrates that the spurious correlation between independent events can appear due to the bias in a study. For example, if 30% people suffer from diabetes and 40% suffer from heart diseases, and they all end up in the hospital than a statistical analysis at the hospital will conclude that diabetes is negatively correlated with heart diseases even when no such correlation exists.

Majority Opinion

Polling rarely works when there are more than two options. Anything short of a simple majority in favor of one outcome generates a net statistically incoherent result. Whenever polled most Americans prefer smaller government than more taxes except when asked which social programs to cut, there is no consensus. The most extreme form of this is Condorcet Paradox where among three candidates, people prefer A over B, B over C, and C over A. Some systems like Australia’s instant run-off voting system tries to solve this by asking for a list of preferences except this kind of system can lead to a loss for a centrist candidate who is no one’s first preference. This is what happened in 2009 Burlington, Vermont elections which used the instant run-off voting system.

How a new choice impacts our behavior

When we are choosing between two choices A and B, a new less preferred choice C can tilt the balance between our preference between A and B, it is known as asymmetric domination effect. The effect exists not just in humans but has been observed even in animals. (ashishb’s note: The best example of this, not mentioned in the book, is the web-only pricing of Economist being really as web + print pricing of Economist)