MakeCompMatrix: Component-wise Matrix of Log Marginal Likelihoods

Description Usage Arguments Value Author(s)

View source: R/BMAfunctions.R

Description

Calls CompLogML to create a matrix of number of possible components by length(Nmissing) log marginal likelihoods. Calculates the log marginal likehood of each possible marginal table for every value of Nmissing.

Usage

1
MakeCompMatrix(p, delta, Y, Nmissing)

Arguments

p

Number of lists

delta

Prior hyperparameter of the Dirichlet distribution.

Y

The 2^k matrix of list intersection counts.

Nmissing

The vector of possible values for the missing cell.

Value

A matrix of log marginal likelihoods.

Author(s)

James Johndrow james.johndrow@gmail.com and Kristian Lum kl@hrdag.org


dga documentation built on May 10, 2021, 5:06 p.m.