Some Conditional Estimation Problems with Applications to Estimating the Probability of Misclassification