Skip to content

Conversation

@ShadekJaramillo
Copy link

…riables.ipynb

change in the code for the explanation of the binomial distribution.

from scipy.stats import binom

n_experiments = 100
probability = 0.5

data = range(n_experiments+1) <-- a +1 was added
pmf = binom.pmf(data, n_experiments, probability)

This change because data was only going up to 99 but it is possible to get 100 successes.

…riables.ipynb

change in the code for the explanation of the binomial distribution.

from scipy.stats import binom

n_experiments = 100
probability = 0.5

data = range(n_experiments+1) <-- a +1 was added
pmf = binom.pmf(data, n_experiments, probability)

This change because data was only going up to 99 but it is possible to get 100 successes.
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant