User Tools

Site Tools


b:head_first_statistics:permutation_and_combination

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:permutation_and_combination [2025/10/01 08:12] – [e.g.] hkimscilb:head_first_statistics:permutation_and_combination [2025/10/01 08:36] (current) – [exercises] hkimscil
Line 224: Line 224:
  
 <WRAP box> <WRAP box>
 +$ {}_{52} P _{5} $
 <code> <code>
 # only combination function is available in r, choose # only combination function is available in r, choose
Line 232: Line 233:
 >   choose(n,r) * factorial(r)  >   choose(n,r) * factorial(r) 
 > } > }
-perm(52, 5)+permute(52, 5)
 > [1] 311875200 > [1] 311875200
 +> # or 
 +> factorial(52)/factorial(52-5)
 +[1] 311875200
 +
 </code> </code>
 </WRAP> </WRAP>
- +답. 12명 중에서 순서는 상관없는 5명이므로  
 +${}_{12} C _{5} $
 <code> <code>
 ## n! / r!(n-r)! ## n! / r!(n-r)!
Line 249: Line 254:
  
 b b
-b/a 
 </code> </code>
 <code> <code>
Line 262: Line 266:
 > b > b
 [1] 36 [1] 36
-> b/a 
-[1] 0.04545455 
  
 </code> </code>
Line 341: Line 343:
 <code> <code>
 > # 6C4 * 4C3 * 7! > # 6C4 * 4C3 * 7!
-> choose(6,4) * choose(4,3) * (4+3) +> choose(6,4) * choose(4,3) * factorial(4+3) 
-[1] 420+[1] 311875200
  
 </code> </code>
b/head_first_statistics/permutation_and_combination.1759273978.txt.gz · Last modified: by hkimscil

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki