User Tools

Site Tools


b:head_first_statistics:estimating_populations_and_samples

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
b:head_first_statistics:estimating_populations_and_samples [2025/11/02 23:24] – [What about variance] hkimscilb:head_first_statistics:estimating_populations_and_samples [2025/11/04 23:18] (current) – [Exercise] hkimscil
Line 517: Line 517:
 그렇다면 만약에 30% 이상이 red gumball일 확률은 무엇이라는 질문이라면  그렇다면 만약에 30% 이상이 red gumball일 확률은 무엇이라는 질문이라면 
 우리는 X ~ B(100, 1/4)에서 도출되는  우리는 X ~ B(100, 1/4)에서 도출되는 
-X ~ N(p, se) 에서 P(X>_0.3)을 구하는 질문이므로 +X ~ N(p, se^2) 에서 P(X>_0.3)을 구하는 질문이므로 
 1-pnorm(0.295, p, se) 가 답이 되겠다.  1-pnorm(0.295, p, se) 가 답이 되겠다. 
 <code> <code>
Line 629: Line 629:
 헷갈릴까봐 정리 헷갈릴까봐 정리
 |                |   봉지 ID  |||||| |                |   봉지 ID  ||||||
-|  | bag 1   | bag 2   | bag 3   | . . . .  | bag n-1  | bag n  | +|  | sample 01   | sample 02   | sample 03   | . . . .  | sample n-1  | sample n  | 
- | 9   | 10  | 12  | . . . .  | 8   | 7   | +bag01 | 9   | 10  | 12  | . . . .  | 8   | 7   | 
- | 5   | 12  | 9   | . . . .  | 12  | 10  | +bag02 | 5   | 12  | 9   | . . . .  | 12  | 10  | 
- | 11  | 8   | 10  | . . . .  | 10  | 9   | +bag03 | 11  | 8   | 10  | . . . .  | 10  | 9   | 
-| . . .  | ..  | ..  | ..  | . . . .  | ..  | ..  | +| . . . | ..  | ..  | ..  | . . . .  | ..  | ..  | 
-mean of $\overline{X}s = E(\overline{X})$      | mean of \\ bag 1 \\ $ X_{1} = 10 $   | mean of \\ bag 2 \\ $ X_{2} = 10 $     | mean of \\ bag 3 \\ $ X_{3} = 10 $    | . . . .  | mean of \\ bag n-1 \\ $ X_{n-1} = 10 $     | mean of \\ bag n \\ $ X_{n} = 10 $     |+      | mean of \\ sample01 \\ $ X_{x1} = 9.933333 $   | mean of \\ sample02 \\ $ X_{x2} = 10.100000 $     | mean of \\ sample03 \\ $ X_{x3} = 9.766667 $    | . . . .  | mean of \\ sample n-1 \\ $ X_{xn-1} = 9.866667 $     | mean of \\ sample n \\ $ X_{xn} = 10.00000 $     
 +| mean of $\overline{X}s = E(\overline{X}) $  | $ E(\overline{X}) = \displaystyle E\left( \frac{X_{1} + X_{2} + . . . + X_{n}}{n}\right) $ ||||||
  
 +<tabbed>
 +  * b:head_first_statistics:estimating_populations_and_samples:sampling_distribution_of_means_in_r|code
 +  * b:head_first_statistics:estimating_populations_and_samples:sampling_distribution_of_means_in_r_output|output
 +</tabbed>
  
  
Line 669: Line 674:
  
 {{:b:head_first_statistics:pasted:20191126-093924.png}} {{:b:head_first_statistics:pasted:20191126-093924.png}}
 +
 +see [[:r/sampling_distribution]]
  
 \begin{eqnarray*} \begin{eqnarray*}
Line 684: Line 691:
 ===== Using CLT for the binomial distribution ===== ===== Using CLT for the binomial distribution =====
 $X \sim B(n, p)$ 에서 $\mu = np$, $\sigma^2 = npq$ 이고, $X \sim B(n, p)$ 에서 $\mu = np$, $\sigma^2 = npq$ 이고,
-n이 30이 넘는 조건에서 이항분포가 정상분포를 이룬다고 하므로   +n이 30이 넘는 조건에서 이항분포가 정상분포를 이룬다고 하므로 (하면)  
-$\overline{X} \sim N(\mu, \frac{\sigma^2}{n})$에 대입해 보면:  +$\overline{X} \sim N (\mu, \frac{\sigma^2}{n} ) $에 대입해 보면:  
-$$\overline{X} \sim N(np, \; pq) $$+$$\overline{X} \sim N \left(np, \; pq \right) $$
  
 {{:b:head_first_statistics:pasted:20191126-095122.png}} {{:b:head_first_statistics:pasted:20191126-095122.png}}
Line 730: Line 737:
 > pnorm(b/a) > pnorm(b/a)
 [1] 1.053435e-16 [1] 1.053435e-16
- 
 </code> </code>
 +
 +
 ====== Recap ====== ====== Recap ======
 Distribution of **Sample** <fc #ff0000>**P**</fc>roportion<fc #ff0000>**s**</fc>, <fc #ff0000>$Ps$</fc>, Distribution of **Sample** <fc #ff0000>**P**</fc>roportion<fc #ff0000>**s**</fc>, <fc #ff0000>$Ps$</fc>,
b/head_first_statistics/estimating_populations_and_samples.1762125889.txt.gz · Last modified: by hkimscil

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki