PriorDistribution function

PriorDistribution

PriorDistribution

PriorDistribution initialises the prior distributions under the conservative and uniform assumptions for the hyperparameter 'alpha' over the event tree.

PriorDistribution(stratified.event.tree, alpha)

Arguments

  • stratified.event.tree: "Stratified.event.tree" a S4 object that represents an event tree.
  • alpha: numeric It plays a role of a phantom sample to construct the prior probability distribution and reprssents the prior knowledge about the process.

Returns

prior is a list of matrices. Each matrix is a collection of vectors that correspond to a prior for each situation associated with a particular variable.

See Also

PriorVariable

  • Maintainer: Pier Taranti
  • License: GPL-2 | file LICENSE
  • Last published: 2017-11-27