Learn R Programming

SHELF (version 1.12.0)

Tools to Support the Sheffield Elicitation Framework

Description

Implements various methods for eliciting a probability distribution for a single parameter from an expert or a group of experts. The expert provides a small number of probability judgements, corresponding to points on his or her cumulative distribution function. A range of parametric distributions can then be fitted and displayed, with feedback provided in the form of fitted probabilities and percentiles. For multiple experts, a weighted linear pool can be calculated. Also includes functions for eliciting beliefs about population distributions; eliciting multivariate distributions using a Gaussian copula; eliciting a Dirichlet distribution; eliciting distributions for variance parameters in a random effects meta-analysis model; survival extrapolation. R Shiny apps for most of the methods are included.

Copy Link

Version

Install

install.packages('SHELF')

Monthly Downloads

630

Version

1.12.0

License

GPL-2 | GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Jeremy Oakley

Last Published

March 1st, 2025

Functions in SHELF (1.12.0)

generateReport

Generate a report to show the fitted distributions
elicitMultiple

Elicit individual judgements and fit distributions for multiple experts
fitdist

Fit distributions to elicited probabilities
elicitSurvivalExtrapolation

Elicitation for survival extrapolation
feedbackDirichlet

Calculate quantiles for the marginal distributions of a Dirichlet distribution
fitprecision

Fit a distribution to judgements about a population precision
elicitHeterogen

Elicit a prior distribution for a random effects variance parameter
fitDirichlet

Fit a Dirichlet distribution to elicited marginal distributions for proportions
feedback

Report quantiles and probabilities from the fitted probability distributions
elicitMixture

Elicit a mixture distribution using the extension method
pdfplots

Plot fitted population pdfs
linearPoolDensity

Obtain points on the density function of a linear pool
makeSurvivalTable

Tabulate Summary Data for Survival Extrapolation
plinearpool

Probabilities quantiles and samples from a (weighted) linear pool
plotConditionalMedianFunction

Plot the conditional median function
plotConditionalDensities

Plot density of the target variable, conditional on the extension variable
plotTertiles

Plot elicted tertiles, median and plausible range for each expert
plotfit

Plot the fitted density function for one or more experts
plotQuartiles

Plot elicited quartiles, median and plausible range for each expert
sampleMarginalFit

Sample from the marginal distribution of the target variable
sampleFit

Sample from the elicited distributions
survivalExtrapolatePlot

Plot survival data and elicited extrapolated intervals
survivalModelExtrapolations

Compare Multiple Fitted Models for Survival Extrapolation
makeCDFPlot

Plot the elicited cumulative probabilities
survivalScenario

Scenario Testing for Survival Extrapolation
elicitDirichlet

Elicit a Dirichlet distribution interactively
elicitBivariate

Elicit a bivariate distribution using a Gaussian copula
elicitExtension

Elicitation with the extension method
cdfplot

Plot distribution of CDF
cdffeedback

Feedback for the elicited distribution of the population CDF
SHELF-package

SHELF: Tools to Support the Sheffield Elicitation Framework
copulaSample

Generate correlated samples from elicited marginal distributions using a multivariate normal copula
compareGroupRIO

Compare individual elicited distributions with linear pool and RIO distribution
elicit

Elicit judgements and fit distributions interactively
compareIntervals

Plot fitted intervals for each expert