24 Variance of a binomial variable
24 Variance of a binomial variable#
%%html
<iframe width="700" height="400" src="https://www.youtube.com/embed/uudB5XiAYOw/" frameborder="0" allowfullscreen></iframe>
import numpy as np
import pandas as pd
from pandas import Series, DataFrame
import matplotlib.pyplot as plt
import seaborn as sns
from scipy import stats, special
stats.binom.var(10, 0.3)
2.0999999999999996
stats.binom.std(10, 0.3)
1.4491376746189437