https://validation.pythonprogramminghelp.com/3-rules-for-power-and-confidence-intervals/