Sample estimation and confidence intervals