Lesson 3 of 4 · Selection and velocity mixtures
Recover a population comparison
18 minute lesson · 3 checks along the way
Your goal for this lessonUse applicable binwise inclusion probabilities to recover expected target counts and distinguish a selection-driven velocity mixture from a physical difference.
In this lesson 3 sections · 3 checks
Read & understand
Undo the stage you actually mean to undo
Dividing a subset count by q reverses only the conditional subset stage. In A, 90/0.5 = 180 and 40/0.1 = 400 recover the expected parent counts. Their sum is 580, not the target total of 1,000. To recover the target expectation under this model, divide by s = c × q: 90/0.45 = 200 and 40/0.05 = 800. This calculation requires positive, applicable probabilities.
For B, 90/0.45 = 200 and 80/0.1 = 800 likewise recover 1,000. Dividing only by the parent probability is a different mistake: A would give 90/0.9 + 40/0.5 = 180, while B would give 90/0.6 + 80/0.25 = 470. Those totals leave the subset selection uncorrected. Naming the intended target prevents choosing whichever denominator produces an appealing answer.
Check 1 of 3
10 pointsUse the reading above. You can try again without losing points.
Read & understand
Selection changes a velocity mixture
Assign every bright-class star a fictional line-of-sight velocity of 10 km/s and every faint-class star 50 km/s. Each target region then has mean velocity (200 × 10 + 800 × 50)/1,000 = 42 km/s. These fixed class values are a teaching device; real stars have varied velocities, measurement errors and different viewing directions. We are not deriving the Galaxy’s bulk motion.
The mean formed from A’s expected subset counts is (90 × 10 + 40 × 50)/130 = 290/13, about 22.31 km/s. For B it is (90 × 10 + 80 × 50)/170 = 490/17, about 28.82 km/s. The targets have identical velocity mixtures, yet these selected-count ratios differ. These are ratios calculated from expected counts, not claims about the average of all realized sample means.
Check 2 of 3
10 pointsUse the reading above. You can try again without losing points.
Read & understand
Reweight contributions without inventing observations
Weight each selected contribution by 1/s. For A, the bright contribution represents 90/0.45 = 200 expected target stars, and the faint contribution represents 40/0.05 = 800. The weighted velocity sum is 200 × 10 + 800 × 50 = 42,000 km/s; dividing by the recovered count of 1,000 gives 42 km/s. B gives the same result. The sum is a statistical total of individual velocities, not the speed of a physical object.
The calculation changes how observed contributions represent the target; it does not manufacture individual velocities for missing stars. Its success depends on our class model and known inclusion probabilities. If selection also depends on an unaccounted property related to velocity, one probability per brightness class may be inadequate. Real inference must also address uncertainty, contaminants and whether the target definition matches the calibrated selection function.
Correct the intended selection stage
For the original known positive probabilities and fixed class velocities 10 and 50 km/s. The corrected expected-count mean is (200 × 10 + 800 × 50)/1000 = 42 km/s. This does not guarantee an unbiased mean for a random finite sample.
Open full-size diagram in a new tab: Correct the intended selection stageRead diagram data as a table
| Calculation | Bright count | Faint count | Total count |
|---|---|---|---|
| Subset | 90 | 40 | 130 |
| Divide by q | 180 | 400 | 580 |
| Divide by c × q | 200 | 800 | 1000 |
For the original known positive probabilities and fixed class velocities 10 and 50 km/s. The corrected expected-count mean is (200 × 10 + 800 × 50)/1000 = 42 km/s. This does not guarantee an unbiased mean for a random finite sample.
Check 3 of 3
10 pointsUse the reading above. You can try again without losing points.
Put it together
Your lesson progress
Each check connects to a part of the story. Complete all 3 to earn your 25-point lesson bonus.
Explore further · Optional
Go to the source
Explore the evidence behind this lesson. These optional readings and videos open in a new tab.
- Read: Cantat-Gaudin et al.: An empirical model of the Gaia DR3 selection functionAuthor abstract and bibliographic record, not full paper The numerical course examples are fictional.
- Read: Castro-Ginard et al.: Estimating the selection function of Gaia DR3 sub-samplesAuthor abstract and bibliographic record, not full paper The numerical course examples are fictional.