marginal: Compute the marginal probability, GMM under the Hamming distance
Description
Compute the marginal probability, GMM under the Hamming distance,
of a distance decomposition vector for which some positions are known and some are not
Usage
marginal(h, theta)
Arguments
h
n dimensional distance decomposition vector where h_j = 0 means that $j$ is a fixed point,
h_j = 1 means that $j$ is an unfixed point and otherwise $j$ is not known
theta
n dimensional distance decomposition vector with the dispersion parameters