Primary user functions

branchInference()

Main function for carrying out inference on an rpart regression tree.

treeval.plot()

Plot an rpart object with all splits labeled with p-values and all nodes labeled with confidence intervals.

inferenceFrame()

This function can optionally be used prior to running treeval.plot to make treeval.plot run more efficiently.

getBranch()

Get branch or list of branches from tree.

Functions needed to run simulations

getRegion()

Get observations belonging to a region in tree.

getInterval()

Workhorse function for computing conditioning sets. Not typically needed by users.

correctPVal()

Get a pvalue for a selective Z-test using a truncated normal distribution. Not typically needed by users.

computeCI()

Return selective confidence interval for v^T mu (a single parameter). Not typically needed by users.