This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import numpy as np | |
from scipy.special import binom | |
from scipy.integrate import quad | |
from scipy.stats import erlang | |
###################################################################### | |
# awemany: look at binomial | |
def bprop(k, n, p): | |
"""Binomial probability density. | |
Probability of drawing exactly k x-like items out of n total, where |