Learn R Programming

indirect (version 0.2.1)

Elicitation of Independent Conditional Means Priors for Generalised Linear Models

Description

Functions are provided to facilitate prior elicitation for Bayesian generalised linear models using independent conditional means priors. The package supports the elicitation of multivariate normal priors for generalised linear models. The approach can be applied to indirect elicitation for a generalised linear model that is linear in the parameters. The package is designed such that the facilitator executes functions within the R console during the elicitation session to provide graphical and numerical feedback at each design point. Various methodologies for eliciting fractiles (equivalently, percentiles or quantiles) are supported, including versions of the approach of Hosack et al. (2017) . For example, experts may be asked to provide central credible intervals that correspond to a certain probability. Or experts may be allowed to vary the probability allocated to the central credible interval for each design point. Additionally, a median may or may not be elicited.

Copy Link

Version

Install

install.packages('indirect')

Monthly Downloads

167

Version

0.2.1

License

GPL-3

Maintainer

Geoff Hosack

Last Published

February 9th, 2022

Functions in indirect (0.2.1)

makeSweave

Function to create summary document from a saved elicitation record.
CNdiag

Function to check condition number diagnostic.
indirect

indirect: A package for assisting indirect elicitation of priors for generalised linear models.
dGompertzNorm

density for Gompertz transformed univariate Gaussian
muSigma

Function to estimate mean and covariance for unknown parameters \(\beta\).
designLink

Create list with information for the elicitation session
mV

Helper function that translates elicited quantiles of target into independent conditional means normal prior for a defined inverse link function.
dLogitNorm

density for logit transformed univariate Gaussian
checkX

Helper function that checks for sensible covariate matrix.
saveRecord

Function to save elicitation record.
pdist

Helper function that gives the probability distribution function for design point.
elicitPt

Function to create or update elicitation at a given design point.
plotDesignPoint

Plot elicited data, fitted marginals or model output