I Choosing from identical objects of different types

  • I
  • Thread starter Thread starter yucheng
  • Start date Start date
AI Thread Summary
The discussion centers on the challenges of selecting from identical objects of different types, highlighting that traditional methods like inclusion-exclusion (PIE) can be impractical. Participants suggest exploring the hypergeometric distribution and generating functions as potential solutions, though they note limitations in calculating coefficients. There is a consensus that defining the term "number of ways" is crucial due to its ambiguity with identical items. The multivariate hypergeometric distribution is mentioned as a necessary tool for calculating probabilities in these scenarios. Overall, the conversation emphasizes the complexity of the problem and the need for clearer definitions and methods.
yucheng
Messages
232
Reaction score
57
TL;DR Summary
I am asking about the general formulation. But to be concrete....

How many ways can we choose 6 objects from say {A,A,B,B,B,C,D,E,E,E,F,G,G,G}? (identical objects of different type)

Pure evil: What's the probability of choosing 2A's and 2 B's?

This can be formulated as partitions with constraints or choosing with finite replacement or choosing from identical objects of different types.
Do you have any comments? What's the most general way to solve it? Inclusion-exclusion (PIE) is impractical for general case. Where to read further on this problem?

Here's what I've found.

Hypergeometric distribution???
https://math.stackexchange.com/ques...-out-of-n-identical-objects?noredirect=1&lq=1

Generating functions: this is promising but incomplete. Is brute force expansion the only way to get the coefficient?
https://math.stackexchange.com/ques...replacement-from-a-set-that-contains-duplicat
https://math.stackexchange.com/a/2757736/767174

Generating functions: Perhaps more complete and concrete. But in the end, the author is unable to compute the coefficients (at least by hand) but still suggests PIE
https://math.stackexchange.com/questions/41724/combination-problem-with-constraints

Again PIE (with stars and bars)
https://math.stackexchange.com/questions/3047584/drawing-balls-with-a-finite-number-of-replacement

Slightly more comprehensive, but the author suggests PIE, which kills the brain for slightly more complicated problems
https://math.stackexchange.com/ques...mula-for-combinations-with-identical-elements

I think this is plain wrong!
https://math.stackexchange.com/questions/582788/distinct-combinations-of-non-distinct-elements?rq=1
 
Physics news on Phys.org
To calculate probabilities I think you need the multivariate hypergeometric distribution, described here: https://en.wikipedia.org/wiki/Hypergeometric_distribution#Multivariate_hypergeometric_distribution
It is a generalisation of the hypergeometric distribution to cases where there are more than two categories (usually described as colours).

To count the "number of ways" we'd first need to define exactly what we mean by that, as the term becomes ambiguous when we have identical items.
 
I was reading documentation about the soundness and completeness of logic formal systems. Consider the following $$\vdash_S \phi$$ where ##S## is the proof-system making part the formal system and ##\phi## is a wff (well formed formula) of the formal language. Note the blank on left of the turnstile symbol ##\vdash_S##, as far as I can tell it actually represents the empty set. So what does it mean ? I guess it actually means ##\phi## is a theorem of the formal system, i.e. there is a...
Back
Top