MakeCompMatrix {dga} | R Documentation |
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.
MakeCompMatrix(p, delta, Y, Nmissing)
p |
Number of lists |
delta |
Prior hyperparameter of the Dirichlet distribution. |
Y |
The |
Nmissing |
The vector of possible values for the missing cell. |
A matrix of log marginal likelihoods.
James Johndrow james.johndrow@gmail.com and Kristian Lum kl@hrdag.org