TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Unsure Calculator – back-of-a-napkin probabilistic calculator

58 pointsby filiphabout 5 years ago

9 comments

Doxinabout 5 years ago
And now I&#x27;m sat here wondering why this isn&#x27;t a default feature on calculators. It&#x27;s great!<p>I think the simplicity really makes this work. just about anyone who can use a calculator can operate this calculator -- but that doesn&#x27;t make it any less powerful. Humans are notoriously bad at intuitively dealing with uncertainty, and this calculator might very well help get a feel for it.<p>The only thing I&#x27;d like to see improved is the histogram, the old timey console-like graphing is cute, but not exactly easy to read or interpret. Going for a modern graphical graph and marking it with some useful percentiles would go a long way towards making it more usable.<p>EDIT: also -- only half facetiously -- is there a CLI&#x2F;desktop&#x2F;mobile app yet? Doing quick back-of-a-napkin math on your phone is a pretty useful thing.<p>EDIT2: Is the source available somewhere? I&#x27;m having the hardest time finding the github repo related to this page...
评论 #22640849 未加载
saeranvabout 5 years ago
Can someone explain the math here? How is he generating the histogram from just the mean and the range?<p>UPDATE<p>Found this:<p>&quot;Range is always a normal distribution, with the lower number being two standard deviations below the mean, and the upper number two standard deviations above. Nothing fancier is possible, in terms of input probability distributions.&quot;<p>So the range is two std dev from the mean. He also mentions somewhere early that he&#x27;s assuming the input range is 95% confident.<p>If I am understanding this correctly, I have a second question: if he has the mean, and the std dev, what is the purpose of the monte carlo simulation exactly? Can&#x27;t you just subdivide your range, and compute frequency using the gaussian function?
评论 #22666805 未加载
Wildgooseabout 5 years ago
This is great. I often test assumptions by picking a set of low&#x2F;high numbers to get a feel for the range of likelihood in a very crude way. This is more sophisticated and gives more confidence in the correctness of the answer.
itoddabout 5 years ago
I haven&#x27;t bookmarked something in ages. I bookmarked this. The value added with a single new operator is amazing. Feel good about this work. Not many people can create something so unique and valuable by adding so little.
评论 #22640937 未加载
AstroJetsonabout 5 years ago
This is great, I&#x27;ve done calcs to get the upper and lower bounds, but to get the full range like this is super. The example of moving was perfect, I had done a similar calculation by an excel sheet and it was a pain.<p>Nicely done!
xo5vikabout 5 years ago
Maybe related: Interval Analysis ? <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Interval_arithmetic" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Interval_arithmetic</a>
giansegatoabout 5 years ago
Every project you release is impressive, I gotta say. Love the UX of this one, making statistics accessible is soooo hard. Eager to see the Flutter version!
phyzix5761about 5 years ago
Very nice project but I broke it though:<p>Input: 100 &#x2F; 0~0<p>UI: Please wait...<p>Console: worker.dart.js:348 Uncaught Invalid argument(s): Cannot make stats from empty list of values
评论 #22644536 未加载
cerberusssabout 5 years ago
Amazing writeup, kudos.