linearPoolDensity: Obtain points on the density function of a linear pool
Description
Takes an object of class elicitation, evaluates a (weighted) linear pool,
and returns points on the density function at a sequence of values of the elicited
parameter
the density function of the linear pool, evaluated at each element in x.
Arguments
fit
An object of class elicitation.
xl
The lower limit in the sequence of parameter values. The default is the 0.001 quantile
of the fitted distribution (or the 0.001 quantile of a fitted normal
distribution, if a histogram fit is chosen).
xu
The upper limit in the sequence of parameter values. The default is the 0.999 quantile
of the fitted distribution (or the 0.999 quantile of a fitted normal
distribution, if a histogram fit is chosen).
d
The distribution fitted to each expert's probabilities. Options are
"normal", "t", "gamma", "lognormal",
"logt","beta", "hist" (for a histogram fit), and
"best" (for best fitting)
lpw
A vector of weights to be used in linear pool, if unequal
weighting is desired.
nx
The number of points in the sequence from xl to xu.
if (FALSE) {
# Two experts# Expert 1 states P(X<30)=0.25, P(X<40)=0.5, P(X<50)=0.75# Expert 2 states P(X<20)=0.25, P(X<25)=0.5, P(X<35)=0.75# Both experts state 0