Skip to content
Prev 102285 / 398500 Next

binom.test

You can also plot an uncertainty distribution of p, using an uninformed 
prior (uniform(0,1)), using beta(s+1, n-s+1)  i.e.

x <- seq(0.091, 0.469, length=100)
plot(x, dbeta(.x, shape1=13, shape2=39), xlab="x", ylab="Density", 
main="Uncertainy distribution for p: beta(a = 12+1, b = 50-12+1)", type="l")

Cheers,

Francisco


Dr. Francisco J. Zagmutt
College of Veterinary Medicine and Biomedical Sciences
Colorado State University
_________________________________________________________________
Stay in touch with old friends and meet new ones with Windows Live Spaces