fixed calculation based on precision and confidence