I'm searching for the best parameters of a classifier and I chose as comparison criterion the value of the specificity at 90% sensitivity (there are various reasons behind this choice). To assess the variability of the estimate I normally used a 10-fold Cross Validation, but having a highly unbalanced dataset, I feel that I was over-estimating the variance of my measures so I'm deciding to switch to Bootstrap (.632+ method). To calculate Confidence Intervals of my 10-fold Cross Validation results I used the classical formula
CI = [mean(spec) +/- t * std(spec) / sqrt(N)]
where spec
are the 10 specificity values @ 90% sensitivity, N
=10 and t
is the critical value of Student's t distribution for alpha=0.05 and d.o.f.=9. mean and std are the sample mean and standard deviation of the 10 estimates.
My questions are:
- is it correct to use this formula to calculate Confidence Intervals?
- can I use it also for Boostrap estimates? And if not, why?
My second question arises from the fact that a lot of sources I checked suggest another formula, the "Basic Bootstrap" at the following Wikipedia link: https://en.wikipedia.org/wiki/Bootstrapping_(statistics)#Methods_for_bootstrap_confidence_intervals
Thanks!