PriorVariable function

PriorVariable

PriorVariable

The function PriorVariable yields the prior distributions for all situations associated with a particular variable in the event tree.

PriorVariable(ref, alpha.edge)

Arguments

  • ref: numeric - It indicates the variable.
  • alpha.edge: vector - Dirichlet hyperparameter vector of a situation associated with a particular variable.

Returns

a matrix. Each row represents the Dirichlet hyperparameter vector of a situation associated with a particular variable in the event tree.

See Also

Prior.distribution and AlphaEdgeInternal

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