r/Python • u/srkiboy83 • May 24 '13
Probabilistic Programming & Bayesian Methods for Hackers
http://nbviewer.ipython.org/urls/raw.github.com/CamDavidsonPilon/Probabilistic-Programming-and-Bayesian-Methods-for-Hackers/master/Prologue/Prologue.ipynb5
5
3
May 24 '13
What are the X... chapters? Are they not available yet?
2
u/HootBack May 30 '13
hi, main contributer here, yes, the are in development
1
May 30 '13
Great I look forward to reading this. I do some bayesian type statistics, and I should be using it more often but finding practical examples can be difficult.
3
u/monkmartinez May 25 '13
EPIC! The relevant Github repo for your cloning pleasure: https://github.com/CamDavidsonPilon/Probabilistic-Programming-and-Bayesian-Methods-for-Hackers
0
u/moor-GAYZ May 25 '13 edited May 25 '13
Man, "Bayesians" are more annoying than atheists and functional programming enthusiasts combined. It's a bunch of stats theorems and numeric methods, not a goddamn religion!
If frequentist and Bayesian inference were programming functions, with inputs being statistical problems, then the two would be different in what they return to the user. The frequentist inference function would return a number, whereas the Bayesian function would return probabilities.
Today I learned that using p-values makes me a Bayesian.
Rather than try to guess λ exactly, we can only talk about what λ is likely to be by assigning a probability distribution to λ.
This might seem odd at first: after all, λ is fixed, it is not (necessarily) random! How can we assign probabilities to a non-random event. Ah, we have fallen for the frequentist interpretation.
Yeah, as I said it turns out that it's totally impossible for a "frequentist" to consider a coin with a fixed but unknown probability p of landing heads and then compare probabilities of seeing some particular sequence of coin flips for various values of p and, conversely, assume that p itself was drawn from a uniform distribution and talk about most probable values and confidence intervals based on observed data.
The book appears to be really interesting and relevant to my interests, but this smug bullshit really turns me off =(
3
0
0
May 25 '13
[deleted]
1
u/HootBack Jun 04 '13
I'm guessing you are using Firefox? We are working on a solution. Meanwhile, a bug has been filed. Thanks for bringing this to our attention.
11
u/delarhi May 24 '13
Oh man, this a gorgeous use of IPython Notebook.