From dc78f0e0cb4de02eae5494ed391ee05f238c8eb7 Mon Sep 17 00:00:00 2001 From: stevee-bee <77158150+stevee-bee@users.noreply.github.com> Date: Sun, 28 Mar 2021 14:03:52 +0800 Subject: [PATCH] Update Statistical Inference Course Notes.Rmd just need to tweak the r code in the final statement under Poisson Distribution section --- 6_STATINFERENCE/Statistical Inference Course Notes.Rmd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/6_STATINFERENCE/Statistical Inference Course Notes.Rmd b/6_STATINFERENCE/Statistical Inference Course Notes.Rmd index c573692..0720e72 100644 --- a/6_STATINFERENCE/Statistical Inference Course Notes.Rmd +++ b/6_STATINFERENCE/Statistical Inference Course Notes.Rmd @@ -589,7 +589,7 @@ pbinom(2, size = 500, prob = .01) ppois(2, lambda=500 * .01) ``` -* as we can see from above, the two probabilities (`r pbinom(2, size = 500, prob = .01)*100`% vs `r pbinom(2, size = 500, prob = .01)*100`%) are extremely close +* as we can see from above, the two probabilities (`r pbinom(2, size = 500, prob = .01)*100`% vs `r ppois(2, lambda=500 * .01)*100`%) are extremely close $\pagebreak$ @@ -1358,4 +1358,4 @@ ggplot(data.frame(permutations = permutations), ``` * as we can see from the black line, the observed difference/statistic is very far from the mean $\rightarrow$ likely 0 is ***not*** the true difference - * with this information, formal confidence intervals can be constructed and p-values can be calculated \ No newline at end of file + * with this information, formal confidence intervals can be constructed and p-values can be calculated