In statistics, error that occurs solely as a result of using a sample from a population, rather than the whole population.