A sample's statistics estimate a population's, with error. This lesson covers sampling methods and biases, the standard error of the mean, confidence intervals, hypothesis tests with test statistics and p-values, and the two kinds of error a test can make.
Samples and sampling error
A population is every member of a group (all monthly returns a strategy could produce); a sample is the part observed. Sampling error is the gap between a sample statistic and the population value it estimates. In simple random sampling every member has the same chance of selection. In stratified random sampling the population is split into subgroups (by sector, credit rating or maturity) and each is sampled in proportion, which is how many bond index funds hold a manageable subset that still matches the index's profile.
Return data carry known biases. Survivorship bias: databases that drop closed funds overstate past returns. Data snooping: testing many rules on one data set until one "works". Look-ahead bias: using information that wasn't available at the time. Time-period bias: results that hold only in the chosen years.