The error attributable to sampling