Skip to content
Branch: master
Go to file

Latest commit


Failed to load latest commit information.
Latest commit message
Commit time

Conformal Inference R Project

Maintained by Ryan Tibshirani

Based on work by Rina Barber, Emmanuel Candes, Max G'Sell, Jing Lei, Aaditya Ramdas, Alessandro Rinaldo, Ryan Tibshirani, Larry Wasserman

This repository contains R software tools for conformal inference. The current emphasis is on conformal prediction in regression. We may eventually add tools for density estimation and classification.

The folder "conformalInference" can be installed as an R package, providing access to the software tools, and the file "conformalInference.pdf" contains documentation.

The folder "lei2018" contains R code to reproduce all examples in the paper Distribution-Free Predictive Inference for Regression by Lei, G'Sell, Rinaldo, Tibshirani, Wasserman (2018). The folder "tibshirani2019" contains R code to reproduce all examples in the paper Conformal Prediction Under Covariate Shift by Tibshirani, Barber, Candes, Ramdas (2019). This code all relies on the "conformalInference" R package.

Relevant work (in reverse chronological order):

Install the R package

To install the conformalInference R package directly from github, run the following in R:

install_github(repo="ryantibs/conformal", subdir="conformalInference")


Tools for conformal inference in regression




No releases published
You can’t perform that action at this time.