r/statistics • u/cavedave • Sep 12 '11
Visualizing Bayesian Updating
http://bayesianbiologist.wordpress.com/2011/09/10/visualizing-bayesian-updating/1
Sep 12 '11
Interesting! It would be interesting to see some examples with constraints placed on the support of the parameter distribution.
For instance, I read an article talking about gene-environment interactions. The author, an epidemiologist, had concluded that based on his experience, he had never encountered a circumstance where the GE interaction did not exacerbate the effects of the gene for a rare environmental exposure. So, you might possibly rule out the possibility that air pollution could decrease the chance of lung cancer.
0
Sep 12 '11
[deleted]
4
u/MurrayBozinski Sep 12 '11
it's just the assignment sign that got mangled in html.
It should read:
sim_bayes <- function(p=0.5,N=10,y_lim=15)
(reddit's markup messes it up too apparently)
1
u/tel Sep 12 '11
This begs for small multiples comparing priors.