This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| """ | |
| Functions to solve AP stats problems. | |
| """ | |
| import math # python built-in | |
| from statistics import NormalDist # python built-in | |
| import scipy.stats as stats # scipy provides T distribution | |
| def binompdf(n, p, k): |