sampling_proportion_is_not_binomial_distribution

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
sampling_proportion_is_not_binomial_distribution [2025/11/10 12:05] – 0 hkimscilsampling_proportion_is_not_binomial_distribution [2025/11/11 22:44] (current) – removed hkimscil
Line 1: Line 1:
-100 문제가 있다. 문제 하나를 맞힐 확률은 1/4 이다. 어떤 사람이 30문제 맞힐 확률은 무엇인가? 
-X ~ B(100, 1/4)  
-P(x = 30) 
-dbinom(30, 100, 1/4) 
- 
-위의 문제를 normal distriubtion으로 계산한다면  
-exp(k) = np 
-var(k) = npq 
-n <- 100 
-p <- 1/4 
-q <- 1-p 
-e.k <- n*p 
-v.k <- n*p*q 
-e.k 
-y.k 
-sd.k <- sqrt(v.k) 
- 
-x <- 0:200  
-plot(ddnorm(x, n, p)) 
- 
-# P(x<_25)?  
-pbinom(25, n, p) 
-pnorm(25, e.k, sd.k) 
-pnorm(25.5, n.k, sd.k) 
- 
- 
- 
  
sampling_proportion_is_not_binomial_distribution.1762776340.txt.gz · Last modified: by hkimscil

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki