rshrinkage: Sample from the model-specific posterior of the shrinkage...

Description Usage Arguments Value Author(s)

Description

Sample from the model-specific posterior of the shrinkage factor t = g / (1 + g), using either inverse sampling (for the hyper-g prior) or numerical approximations (for the hyper-g/n prior).

Usage

1
  rshrinkage(n, marginal, modelData)

Arguments

n

number of samples

marginal

the marginal model, which is the result from calculateModel

modelData

the data necessary for model estimation, which is the result from modelData

Value

n posterior shrinkage factor samples

Author(s)

Daniel Sabanes Bove daniel.sabanesbove@ifspm.uzh.ch


hypergsplines documentation built on May 2, 2019, 6:14 p.m.