Identifying and reducing statistical bias