Weighting an Average to Minimize Variance
Postedabout 2 months agoActiveabout 2 months ago
johndcook.comResearchstoryHigh profile
calmmixed
Debate
60/100
StatisticsMathematicsData Analysis
Key topics
Statistics
Mathematics
Data Analysis
The article discusses how to weight an average to minimize variance, sparking a discussion on the assumptions and mathematical elegance of the approach.
Snapshot generated from the HN discussion
Discussion Activity
Light discussionFirst comment
1h
Peak period
4
1-2h
Avg / period
4
Comment distribution4 data points
Loading chart...
Based on 4 loaded comments
Key moments
- 01Story posted
Nov 15, 2025 at 10:25 AM EST
about 2 months ago
Step 01 - 02First comment
Nov 15, 2025 at 11:43 AM EST
1h after posting
Step 02 - 03Peak activity
4 comments in 1-2h
Hottest window of the conversation
Step 03 - 04Latest activity
Nov 15, 2025 at 12:20 PM EST
about 2 months ago
Step 04
Generating AI Summary...
Analyzing up to 500 comments to identify key contributors and discussion patterns
ID: 45938027Type: storyLast synced: 11/20/2025, 1:54:04 PM
Want the full context?
Jump to the original sources
Read the primary article or dive into the live Hacker News thread when you're ready.
While by no means logically incorrect, it feels inelegant to setup a problem using variables A and B in the first paragraph and solve for X and Y in the second (compounded with the implicit X==B, and Y==A).
1. How to Write Mathematics — Paul Halmos
2. Mathematical Writing — Donald Knuth, Tracy Larrabee, and Paul Roberts
3. Handbook of Writing for the Mathematical Sciences — Nicholas J. Higham
4. Writing Mathematics Well — Steven Gill Williamson
Don’t make decisions for evolving systems based on statistics.
Insider info on the other hand works much better.
----
Write v_i = Var[X_i]. John writes
But if you multiply top and bottom by (1 / \prod_{m=1}^n v_m), you just get No need to compute elementary symmetric polynomials.If you plug those optimal (t_i) back into the variance, you get
where `H = n / (\sum_{k=1}^n 1/v_k)` is the Harmonic Mean of the variances.52 more comments available on Hacker News