geometric_distribution
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
geometric_distribution [2025/10/11 03:20] – [e.g.,] hkimscil | geometric_distribution [2025/10/11 06:23] (current) – hkimscil | ||
---|---|---|---|
Line 9: | Line 9: | ||
\\ | \\ | ||
\end{align*} | \end{align*} | ||
+ | |||
+ | ====== Proof of mean and variance of geometric distribution ====== | ||
+ | [[:Mean and Variance of Geometric Distribution]] | ||
+ | |||
{{youtube> | {{youtube> | ||
+ | \\ | ||
+ | \\ | ||
+ | <WRAP clear/> | ||
+ | ====== dgeom in r ====== | ||
< | < | ||
> dgeom(4, .2) | > dgeom(4, .2) | ||
Line 21: | Line 29: | ||
</ | </ | ||
+ | ====== pgeom ====== | ||
< | < | ||
> pgeom(4, .2, lower.tail=T) | > pgeom(4, .2, lower.tail=T) | ||
Line 34: | Line 43: | ||
> pgeom(4, .2, lower.tail=T)+pgeom(4, | > pgeom(4, .2, lower.tail=T)+pgeom(4, | ||
[1] 1 | [1] 1 | ||
- | |||
</ | </ | ||
+ | ====== qgeom ====== | ||
< | < | ||
> qgeom(.5, .2) | > qgeom(.5, .2) | ||
Line 57: | Line 66: | ||
</ | </ | ||
+ | ====== rgeom ====== | ||
성공 확률이 .2 일 때 몇번 만에 성공할지 랜덤하게 구하는 것을 다섯 번 하라. | 성공 확률이 .2 일 때 몇번 만에 성공할지 랜덤하게 구하는 것을 다섯 번 하라. | ||
< | < | ||
Line 63: | Line 73: | ||
> | > | ||
</ | </ | ||
- | ====== Proof of mean and variance of geometric distribution ====== | ||
- | [[:Mean and Variance of Geometric Distribution]] | ||
====== e.g., ====== | ====== e.g., ====== |
geometric_distribution.1760120406.txt.gz · Last modified: by hkimscil