diff --git a/notebooks/lectures/Hypothesis_Testing/notebook.ipynb b/notebooks/lectures/Hypothesis_Testing/notebook.ipynb index fc3fa281..7440203a 100644 --- a/notebooks/lectures/Hypothesis_Testing/notebook.ipynb +++ b/notebooks/lectures/Hypothesis_Testing/notebook.ipynb @@ -244,7 +244,7 @@ "\n", "* In a 'less than or equal to' hypothesis test, the $p$-value is $1 - CDF(\\text{Test Statistic})$\n", "* In a 'greater than or equal to' hypothesis test, the $p$-value is $CDF(\\text{Test Statistic})$\n", - "* In a 'not equal to' hypothesis test, the $p$-value is $2 * 1 - CDF(|\\text{Test Statistic}|)$\n", + "* In a 'not equal to' hypothesis test, the $p$-value is $2 * \\left(1 - CDF(|\\text{Test Statistic}|)\\right)$\n", "\n", "Significance values tie very nicely into confidence intervals, which are covered more in-depth in our [confidence intervals lecture](https://www.quantopian.com/lectures/confidence-intervals). A confidence interval provides us with an estimate for a parameter's possible range in values given a certain significance level. For example, if our $99\\%$ confidence interval for the mean of MSFT returns was $(-0.0020, 0.0023)$, that would mean that there was a $99\\%$ chance that the true value of the mean was within that interval." ]