It is not clear to me what confidence intervals will mean for regression trees, since these are not classical statistical models, like linear models. And I see basically two types of use: characterizing the certainty of your tree or characterizing the accuracy of the prediction for each leaf of the tree. In the future, the answer to each of these possibilities.
Characterizing the certainty of your tree
If you are looking for a trust value for a split node, then party provides this directly because it uses permutation tests and statistically determines which variables are most important and the p value associated with each split. The significant superiority of the party ctree function over rpart as explained here .
Confidence Intervals for a Set of Regression Tree Leaves
Third, if you are looking for the confidence interval for the value in each sheet, then the [0,025,0,975] quantile interval for observations in the sheet is most likely what you are looking for. By default, party uses a similar approach when displaying boxes for the output value for each sheet:
library("party") r2 <- ctree(Sepal.Length ~ .,data=iris) plot(r2)

The corresponding intervals can be obtained simply:
iris$leaf <- predict(r2, type="node") CIleaf <- aggregate(iris$Sepal.Length, by=list(leaf=iris$leaf), quantile, prob=c(0.025, 0.25, 0.75, 0.975))
And easy to visualize:
plot(as.factor(CIleaf$leaf), CIleaf[, 2], ylab="Sepal length", xlab="Regression tree leaf") legend("bottomright", c(" 0.975 quantile", " 0.75 quantile", " mean", " 0.25 quantile", " 0.025 quantile"), pch=c("-", "_", "_", "_", "-"), pt.lwd=0.5, pt.cex=c(1, 1, 2, 1, 1), xjust=1)
