MakeCompMatrix {dga} R Documentation

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)


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

[Package dga version 2.0.1 Index]