The distribution D
is used to specify an initial distribution. The list
prm
contains details concerning a single parameter that is allowed to
change values. The quantity of interest is evaluated as a function of this
parameter.
Specifically, prm
includes three elements named "name", "pos", and "val".
The first two elements determine the exact parameter that changes, while the
third one is a numeric vector holding the values it takes. For example,
in the case of the Multivariate Gamma distribution,
D <- MGamma(shape = c(1, 2), scale = 3)
and
prm <- list(name = "shape", pos = 2, val = seq(1, 1.5, by = 0.1))
means that the evaluation will be performed for the MGamma distributions with
shape parameters (1, 1)
, (1, 1.1)
, ..., (1, 1.5)
and scale 3
. Notice
that the initial shape parameter 2
in D
is not utilized in the function.