Model.p.Betaprior_mult {systemicrisk}R Documentation

Model Using Multiple Independent Components

Description

Assumes a multivariate hyperparameter θ\theta with each component following an independent Beta distribution. A matrix indicates which component θ\theta is used for what component of p.

Usage

Model.p.Betaprior_mult(Ip, shape1 = 1, shape2 = 1)

Arguments

Ip

matrix consisting of integers that describe which component of thetatheta is used for a given position in the matrix. Must consist of nonnegative integers (0 encoding forced 0s in the matrix), using all integers in the range.

shape1

first parameter of Beta prior on thetatheta. Default 1.

shape2

second parameter of Beta prior thetatheta. Default 1.

Value

the resulting model.


[Package systemicrisk version 0.4.3 Index]