frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

A short statistical reasoning test

https://emiruz.com/post/2025-08-17-statistical-reasoning/
22•usgroup•2h ago

Comments

jldugger•37m ago
( replying to a now deleted post)

>> the uncertainty in the number of trials > Has no meaning to me.

What the author is trying to get at in the admittedly poorly worded question is that the trials are noisy measures of an underlying effect. Your job is to sort by effect size, while accounting for the random chance that a low sample size trial just got unlucky.

You might argue that the question is much harder than the author assumes, since your best guess at the actual effect size seems like it should still just be the success rate, even if the low sample size trials have wider error bars. You'd need to come up with some sort of heuristic that says why 7/9 deserves a lower rank than 50/70 using binomial confidence intervals.

Probably that heuristic is intended to be a bayesian approach? Like, if you add just two successes and two failures to each scenario as a prior, thats enough to put the 50/70 option ahead.

jldugger•30m ago
And I guess since they answer the questions at the bottom, it seems their intent is indeed the simplistic approach

> The lower bound of which can be used to order the fractions, and so control the risk of over-estimation.

It not clear to me from the question whether the cost of a mistake is in the over-estimating the underlying effect or in misranking the effects, and that seems like it would drive your heuristic selection.

usgroup•23m ago
From the question:

“However, it is very important that the uncertainty in the number of trials is taken into account because over-estimating a fraction is a costly mistake.“

Seems fairly clear to me that you’re supposed to use a lower bound estimate to take into account variance on the fraction due to the number of trials in a way to bounds the chance of over estimation.

Further, there is no need for a heuristic when there a several statistical models for this exact problem with clear properties. Some are given in the answer.

thekoma•9m ago
Out of context, the expression "the uncertainty in the number of trials" would refer to missing knowledge in terms of how many trials actually ran.

In the context of the post this doesn't make sense, so the reader is left to hypothesize what the writer actually meant.

taylorius•8m ago
I think "uncertainty due to the number of trials" would be clearer.
kruffalon•15m ago
I wrote the deleted comment you are replying to.

The essence of my comment was that this text/test is not for me (one person of the general public) but more like a few leetcode-style questions for statisticians.

Your attempt to explain what I didn't understand just proves my point as I don't really understand what you are saying either.

And that's ok: this is just not for me! (And that's why I deleted my original comment)

kqr•1m ago
The first question is impossible to answer correctly because it does not say how much more expensive overestimation is compared to underestimation. It implicitly assumes 19:1 given that it's ordering by the 0.05th quantile of the posterior distribution, but that's information not contained in the question.

Web apps in a single, portable, self-updating, vanilla HTML file

https://hyperclay.com/
173•pil0u•3h ago•49 comments

A gigantic jet caught on camera: A spritacular moment for NASA astronaut

https://science.nasa.gov/science-research/heliophysics/a-gigantic-jet-caught-on-camera-a-spritacular-moment-for-nasa-astronaut-nicole-ayers/
169•acossta•3d ago•39 comments

Unification (2018)

https://eli.thegreenplace.net/2018/unification/
28•asplake•2h ago•2 comments

A short statistical reasoning test

https://emiruz.com/post/2025-08-17-statistical-reasoning/
22•usgroup•2h ago•7 comments

Claudia – Desktop companion for Claude code

https://claudiacode.com/
417•zerealshadowban•16h ago•195 comments

Clojure Async Flow Guide

https://clojure.github.io/core.async/flow-guide.html
142•simonpure•8h ago•48 comments

Llama-Scan: Convert PDFs to Text W Local LLMs

https://github.com/ngafar/llama-scan
158•nawazgafar•12h ago•64 comments

The Lives and Loves of James Baldwin

https://www.newyorker.com/magazine/2025/08/18/baldwin-a-love-story-nicholas-boggs-book-review
13•Caiero•10h ago•2 comments

The Enterprise Experience

https://churchofturing.github.io/the-enterprise-experience.html
373•Improvement•16h ago•108 comments

Google admits anti-competitive conduct involving Google Search in Australia

https://www.accc.gov.au/media-release/google-admits-anti-competitive-conduct-involving-google-search-in-australia
194•Improvement•6h ago•121 comments

Viking-Age hoard reveals trade between England and the Islamic World

https://www.heritagedaily.com/2025/08/viking-age-hoard-reveals-trade-between-england-and-the-islamic-world/155786
37•bookofjoe•2d ago•9 comments

Nvidia Tilus: A Tile-Level GPU Kernel Programming Language

https://github.com/NVIDIA/tilus
23•ashvardanian•3d ago•3 comments

Show HN: Doxx – Terminal .docx viewer inspired by Glow

https://github.com/bgreenwell/doxx
190•w108bmg•13h ago•49 comments

Leeches and the Legitimizing of Folk-Medicine

https://press.asimov.com/articles/leeches-and-the-legitimizing-of-folk-medicine
22•mailyk•3d ago•23 comments

Show HN: OverType – A Markdown WYSIWYG editor that's just a textarea

332•panphora•17h ago•86 comments

Mangle – a language for deductive database programming

https://github.com/google/mangle
56•simonpure•8h ago•8 comments

Modifying other people's software

https://natkr.com/2025-08-14-modifying-other-peoples-software/
56•todsacerdoti•4d ago•28 comments

Derivatives, Gradients, Jacobians and Hessians

https://blog.demofox.org/2025/08/16/derivatives-gradients-jacobians-and-hessians-oh-my/
251•ibobev•19h ago•58 comments

Show HN: NextDNS Adds "Bypass Age Verification"

408•nextdns•19h ago•132 comments

SystemD Service Hardening

https://roguesecurity.dev/blog/systemd-hardening
47•todsacerdoti•4h ago•5 comments

Scientists discover surprising language 'shortcuts' in birdsong – like humans

https://www.manchester.ac.uk/about/news/scientists-discover-surprising-language-shortcuts-in-birdsong--just-like-humans/
5•gnufx•3d ago•0 comments

Non-Uniform Memory Access (NUMA) is reshaping microservice placement

https://codemia.io/blog/path/NUMA-Is-the-New-Network-How-Per-Socket-Memory-Models-Are-Reshaping-Microservice-Placement
62•signa11•8h ago•21 comments

Show HN: ASCII Tree Editor

https://asciitree.reorx.com/
22•novoreorx•6h ago•7 comments

ArchiveTeam has finished archiving all goo.gl short links

https://tracker.archiveteam.org/goo-gl/
366•pentagrama•16h ago•89 comments

I Prefer RST to Markdown (2024)

https://buttondown.com/hillelwayne/archive/why-i-prefer-rst-to-markdown/
83•shlomo_z•13h ago•69 comments

BBC Micro, ancestor to ARM

https://retrogamecoders.com/bbc-micro-the-ancestor-to-a-device-you-are-guaranteed-to-own/
120•ingve•20h ago•103 comments

A Visual Exploration of Gaussian Processes (2019)

https://distill.pub/2019/visual-exploration-gaussian-processes/
70•vinhnx•2d ago•1 comments

Why Nim?

https://undefined.pyfy.ch/why-nim
162•TheWiggles•20h ago•174 comments

Gazan woman flown to Italy dies of malnutrition

https://www.bbc.com/news/articles/ce87n455dvxo
4•mhga•29m ago•3 comments

Fun with Finite State Transducers

https://blog.yossarian.net/2025/08/14/Fun-with-finite-state-transducers
35•woodruffw•3d ago•3 comments