I have 5 data sets with different sizes, for each dataset, I have selected 10 bootstrap samples of the same size as the database and for each sample, I have the values of true positives, true negatives, false positives, false negatives And the sample mean. Can I add up all sample values even though they have different sizes? What is the best way to construct the ROC curve of all databases using R? What is the best statistical test? I tried to use the pROC
and ROCR
packages, but they need the predicted values and classes (which are values I do not have, I have only the values of tp, tn, fp and fn).
Asked
Active
Viewed 71 times
-1
-
This question is more methodology not programming, I would suggest post on Cross Validated – emilliman5 Aug 27 '17 at 16:42
-
Thanks for the tip... i'll do that... – Denise Aug 27 '17 at 16:48
1 Answers
0
I understand you are doing using some kind of predictive model on the bootstraps? The output of that model then somehow gets thresholded into Positive/Negative calls, when then are used for calculating TP, TN, FP, FN. If that's the case, the continuous output from your predictive model before thresholding is what should be used for pROC and ROCR.

user2605553
- 362
- 1
- 2
- 9