Monte-Carlo Simulations
37 points - last Tuesday at 6:11 PM
Sourcestevenhubertron
today at 10:13 PM
I use a Monte-Carlo for my retirement planning. This did a good job of telling me not to trust it but didn't really give me a better option. Anyone have one?
theOGognf
today at 9:12 PM
Those interested in this should read about DSMC: https://en.wikipedia.org/wiki/Direct_simulation_Monte_Carlo. Itβs the same idea for low density gas interactions without having to actually simulate all the particles involved while still getting accurate results. Cool stuff!
alexpotato
today at 9:14 PM
> After running 10 million simulated draws, I got an answer of 0.0323, which matches the real answer very closely.
If you enjoyed reading about how you can approximate complex statistical values using basic programming, I highly recommend Jake Vanderplas "Statistics for Hackers" [0][1].
It converts the sometimes hard to grok statistics terms and formulas into some very simple loops and basic operations.
Can't recommend it enough.
0 - https://speakerdeck.com/pycon2016/jake-vanderplas-statistics...
1 - https://www.youtube.com/watch?v=Iq9DzN6mvYA
positron26
today at 10:01 PM
> Can't differentiate the function? Fuck gradients. Here's the entire fucking posterior.
- Monte Carlo