ToolPythonBeginner scipy.stats from the ground up: is the difference between two samples real? p_by_hand = 2 * stats.t.sf(abs(res.statistic), res.df)