Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News Sign UpSign In
| Download

Think Stats by Allen B. Downey Think Stats is an introduction to Probability and Statistics for Python programmers.

This is the accompanying code for this book.

Website: http://greenteapress.com/wp/think-stats-2e/

Views: 7088
License: GPL3
1
"""This file contains code for use with "Think Stats",
2
by Allen B. Downey, available from greenteapress.com
3
4
Copyright 2014 Allen B. Downey
5
License: GNU GPLv3 http://www.gnu.org/licenses/gpl.html
6
"""
7
8
from __future__ import print_function
9
10
import numpy as np
11
import sys
12
13
import nsfg
14
import thinkstats2
15
16
17
def main(script):
18
"""Tests the functions in this module.
19
20
script: string script name
21
"""
22
print('%s: All tests passed.' % script)
23
24
25
if __name__ == '__main__':
26
main(*sys.argv)
27
28