An R6 class for a model variable with Gamma uncertainty.
Andrew J. Sims andrew.sims@newcastle.ac.uk
rdecision::ModVar -> GammaModVar
Inherited methods
new()Create an object of class GammaModVar.
GammaModVar$new(description, units, shape, scale)descriptionA character string describing the variable.
unitsUnits of the variable, as character string.
shapeshape parameter of the Gamma distribution.
scalescale parameter of the Gamma distribution.
An object of class GammaModVar.
is_probabilistic()Tests whether the model variable is probabilistic, i.e. a random variable that follows a distribution, or an expression involving random variables, some of which follow distributions.
GammaModVar$is_probabilistic()TRUE if probabilistic
clone()The objects of this class are cloneable with this method.
GammaModVar$clone(deep = FALSE)deepWhether to make a deep clone.
A model variable for which the uncertainty in the point estimate can
be modelled with a Gamma distribution. The hyperparameters of the
distribution are the shape (k) and the scale (theta). Note
that although Briggs et al (2006) use the shape, scale formulation,
they use alpha, beta as parameter names. Inherits from
class ModVar.
Briggs A, Claxton K, Sculpher M. Decision modelling for health economic evaluation. Oxford, UK: Oxford University Press; 2006.