Skip to content
Prev 280937 / 398503 Next

rbinom

On Dec 27, 2011, at 15:47 , Scott Raynaud wrote:

            
Not really. As far as I can tell, "fixpart" is roughly -10.5 (= -1.5 - .25*36), so binomprob is around 2.75e-5, which - nonlinearity notwithstanding - suggests that the expected number of positives out of 50K is something like 1.4.

To do this more precisely, just compute and print sum(binomprob) in the code you gave.