Model.p.BetaPrior: Model for a Random One-dimensional p

Description Usage Arguments Value Examples

Description

Assumes a Beta prior on the one-dimensional link existence probabilities p. This model has a one-dimensional parameter.

Usage

1
Model.p.BetaPrior(n, shape1 = 1, shape2 = 1)

Arguments

n

dimension of matrix.

shape1

first parameter of Beta prior. Default 1.

shape2

second parameter of Beta prior. Default 1.

Value

the resulting model.

Examples

1
2
m <- Model.p.BetaPrior(5)
m$matr(m$rtheta())


Search within the systemicrisk package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.