Majid Javanmard
2016-Mar-14 13:43 UTC
[R] Confidence Interval for Ipred Bagging outputs (please help)
Hello everyone here is the code that implements bagging using ipred package : library(ipred) library(mlbench) data("BostonHousing") # Test set error (nbagg=25, trees pruned): 3.41 (Breiman, 1996a, Table 8) mod <- bagging(medv ~ ., data=BostonHousing, coob=TRUE) print(mod) pred <- predict(mod) pred<- as.data.frame(pred) How can I have 95% Confidence interval for each predicted values !? I appreciate if someone help me Thanks [[alternative HTML version deleted]]