Learn R Programming

⚠️There's a newer version (1.12.1) of this package.Take me there.

SHELF (version 1.9.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, and eliciting distributions for variance parameters in a random effects meta-analysis model. R Shiny apps for most of the methods are included.

Copy Link

Version

Install

install.packages('SHELF')

Monthly Downloads

418

Version

1.9.0

License

GPL-2 | GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Jeremy Oakley

Last Published

June 7th, 2023

Functions in SHELF (1.9.0)

elicitBivariate

Elicit a bivariate distribution using a Gaussian copula
plotQuartiles

Plot elicted quartiles, median and plausible range for each expert
copulaSample

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

Elicit individual judgements and fit distributions for multiple experts
elicit

Elicit judgements and fit distributions interactively
fitprecision

Fit a distribution to judgements about a population precision
elicitQuartiles

Elicit judgements and fit distributions interactively using the quartile method
compareGroupRIO

Compare individual elicited distributions with linear pool and RIO distribution
fitdist

Fit distributions to elicited probabilities
cdfplot

Plot distribution of CDF
elicitMixture

Elicit a mixture distribution using the extension method
elicitConcProb

Elicit a concordance probability for two uncertain quantities, and plot a joint sample
plinearpool

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

Plot the fitted density function for one or more experts
plotTertiles

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

Plot fitted intervals for each expert
elicitExtension

Elicitation with the extension method
condDirichlet

Plot conditional distributions from an elicited Dirichlet prior
sampleFit

Sample from the elicited distributions
plotConditionalDensities

Plot density of the target variable, conditional on the extension variable
SHELF-package

Tools to Support the Sheffield Elicitation Framework
cdffeedback

Feedback for the elicited distribution of the population CDF
elicitDirichlet

Elicit a Dirichlet distribution interactively
elicitTertiles

Elicit judgements and fit distributions interactively using the tertile method
generateReport

Generate a report to show the fitted distributions
sampleMarginalFit

Sample from the marginal distribution of the target variable
feedback

Report quantiles and probabilities from the fitted probability distributions
linearPoolDensity

Obtain points on the density function of a linear pool
feedbackDirichlet

Calculate quantiles for the marginal distributions of a Dirichlet distribution
fitDirichlet

Fit a Dirichlet distribution to elicited marginal distributions for proportions
pdfplots

Plot fitted population pdfs
makeCDFPlot

Plot the elicited cumulative probabilities
elicitHeterogen

Elicit a prior distribution for a random effects variance parameter
plotConditionalMedianFunction

Plot the conditional median function