def RunDiceTest():
    data = [8, 9, 19, 5, 8, 11]
    dt = DiceTest(data)
    print('dice test', dt.PValue(iters=10000))
    dt = DiceChiTest(data)
    print('dice chi test', dt.PValue(iters=10000))
Tests whether a die is fair.
dataset/ETHPy150Open AllenDowney/CompStats/hypothesis.py/RunDiceTest