1
$\begingroup$

I would like to calculate confidence intervals for predicted probabilities of a class membership obtained with randomForest.

I know I could use predict.all in randomForest(), which gives me the predictions of all the trees and hence a way of calculating the variance of the average prediction. However, from reading the following paper by Wager, Hastie and Effron, the variance obtained this way is biased upwards, https://arxiv.org/pdf/1311.4555.pdf

This paper presents a bias-corrected estimator of variance and states on page 8 that it has been implemented in randomForest.

I have checked the documentation but can't find any reference to it. https://www.rdocumentation.org/packages/randomForest/versions/4.6-14

Can anyone shed light on this?

$\endgroup$
1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.