def main():
    # get the data
    pool, firsts, others = cumulative._make_tables()

    # run the test
    _test(firsts.lengths,
          others.lengths,
          pool.lengths,
          iters=1000)
Exemple #2
0
def main():
    random.seed(17)

    # make the continuous CDFs
    _make_expo_cdf()
    _make_pareto_cdf()
    _make_pareto_cdf2()
    _make_normal_cdf()

    # test the distribution of birth weights for normality
    pool, _, _ = cumulative._make_tables()

    t = pool.weights
    _make_normal_model(t)
    _make_normal_plot(t)