marginalpp.models: Marginal PP for models sharing information between diseases

Description Usage Arguments Details Value Author(s)

View source: R/marginalpp.R

Description

Calculate marginal model posterior probabilities for each disease

Usage

1
marginalpp.models(M, ABF, pr, kappa, p0)

Arguments

M

list of model matrices for diseases 1, 2, ..., n

ABF

list of log(ABF) vectors for diseases 1, 2, ...

pr

list of prior probabilities for the models in M

kappa

single value or vector of values to consider for the sharing scale parameter

p0

prior probability of the null model

Details

Given a list of model matrices and log ABFs, this function calculates the marginal model posterior probabilities for each disease without ever calculating the joint Bayes Factors for all cross-disease model configurations, which would require large amounts of memory.

Value

list of:

Author(s)

Chris Wallace


jennasimit/MTFM documentation built on Aug. 15, 2019, 6:14 p.m.