Counting, conditional expectation, correlation and descriptive statistics
GATE DA180 min read
Counting
Multiplication rule. If a task has stages with choices each, there are ways in all.
| Situation | Count |
|---|---|
| Ordered selection of from (a permutation) | |
| Unordered selection of from (a combination) | |
| Arrangements of items with repeats | |
| people round a table | |
| choices from types, repetition allowed, order irrelevant | |
| Sequences of length from symbols |
Examples.
- MISSISSIPPI has arrangements.
- The equation has solutions in non-negative integers, by stars and bars: arrange 10 stars and 2 bars.
- A committee of 3 chosen from 5 men and 4 women, with at least one woman: .
Inclusion–exclusion. , and for three sets add back the triple intersection. Among 1 to 100, the numbers divisible by 2 or 3 number .
Derangements. A derangement is a permutation with no fixed point. There are
of them. For example and . So the chance that a random permutation has no fixed point tends to .
Pigeonhole principle. Putting items into boxes puts at least two in one box. Among any 13 people, two share a birth month.
Probability by counting
When all outcomes are equally likely, .
Example 1. Two cards drawn from a deck are both aces with probability .
Example 2: the birthday problem. In a group of people, assuming 365 equally likely birthdays, For this is about 0.493, so a shared birthday is more likely than not (0.507).
The hypergeometric distribution. Draw items without replacement from items, of which are "successes":
Example 3. A batch has 10 items, 3 of them defective. Pick 4 at random.
- .
- The expected number of defectives is .
Conditional expectation
Definition. , or . As varies, is itself a random variable, a function of .
Law of total expectation: To average over everything, average within each case, then average the cases.
Law of total variance: The total spread is the average spread within groups plus the spread between the group means.
You have read the free 30% of this note
Sign in with Google to keep reading. It is free, takes one tap, and you also get:
- 8 practice questions from this note
- Every note in full, plus the PDF library
- Official past papers as timed tests, with explanations
- An AI tutor for doubts, in Hindi or English
- Your progress, mistakes and study plan saved on every device