b:head_first_statistics:using_the_normal_distribution
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
b:head_first_statistics:using_the_normal_distribution [2023/11/01 08:23] – [Apply a continuity correction] hkimscil | b:head_first_statistics:using_the_normal_distribution [2023/11/01 08:29] (current) – [When to approximate the binomial distribution with the normal] hkimscil | ||
---|---|---|---|
Line 886: | Line 886: | ||
</ | </ | ||
+ | 위는 아래와 같음을 이해해야 한다 | ||
+ | < | ||
+ | > sum(dbinom(c(0: | ||
+ | [1] 0.387207 | ||
+ | > | ||
+ | </ | ||
</ | </ | ||
Line 926: | Line 932: | ||
# the below is the same as the above | # the below is the same as the above | ||
- | n <- 12 | + | > n <- 12 |
- | p <- 1/2 | + | > p <- 1/2 |
- | q <- 1-p | + | > q <- 1-p |
- | pnorm(5.5, n*p, sqrt(n*p*q)) | + | > pnorm(5.5, n*p, sqrt(n*p*q)) |
+ | [1] 0.386415 | ||
+ | > | ||
</ | </ | ||
b/head_first_statistics/using_the_normal_distribution.1698794613.txt.gz · Last modified: 2023/11/01 08:23 by hkimscil