Learn R Programming

dga (version 2.0.1)

MakeCompMatrix: Component-wise Matrix of Log Marginal Likelihoods

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

MakeCompMatrix(p, delta, Y, Nmissing)

Value

A matrix of log marginal likelihoods.

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.

Author

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