14 Why we divide by n - 1 in variance#

%%html
<iframe width="700" height="400" src="https://www.youtube.com/embed/F2mfEldxsPI/" 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

khanacademy

Why we divide by n - 1 in variance fig 1Why we divide by n - 1 in variance fig 2

# TODO: create a similar similation using numpy and matplotlib