The Whole Group and the Part You Observed
A population is the complete set addressed by a question: voters in an election, Seoul adults whose commute is being studied, or requests a deployed service will receive. A sample is the subset actually observed. The population should be defined by the question, not inflated to “all data that could ever exist.”
If a question concerns all Seoul adults but the sampling frame contains only users of one app, the mismatch matters more than raw sample size.
A Large Sample Is Not Enough
With appropriate random sampling, a larger sample reduces chance variation in estimates such as a mean. It does not automatically remove selection bias, nonresponse bias, dependence, or measurement error. A survey can question a million systematically unrepresentative people and become precisely wrong.
- Representation: are important subgroups missing?
- Selection: who had what probability of entering the sample?
- Independence: are many observations effectively duplicates, such as one household or a bot network?
- Distribution shift: will deployment conditions differ from collection conditions?
In Machine Learning
Training, validation, and test data are samples from the environment in which the model will be used. Generalization depends on collection pathways, label quality, temporal change, and coverage—not only row count. Data quality includes both sample size and the process that generated the sample.
엄청나게 큰 국 솥(population)에서 숟가락(np.random.choice)으로 딱 10방울(size=10)만 떠본다. 로봇은 작은 표본만 맛보고도 솥 전체의 염도를 맞히는 연습을 하는 중이다. 10방울보다는 한 국자가 더 정확하하다. 로봇은 데이터가 많아질수록 모집단의 진실에 다가간다. 헐! (로봇은 양질의 많은 데이터에 집착한다.)