In this paper we apply the elimination technique to the computation of Markov bases, paying special attention to contingency tables with structural zeros. An algebraic relationship between the Markov basis for a table with structural zeros and the corresponding complete table is proved. In order to find the relevant Markov basis, it is enough to eliminate the indeterminates associated with the structural zeros from the toric ideal for the complete table. Moreover, we use this result for the computation of Markov bases for some classical log-linear models, such as quasi-independence and quasi-symmetry, and computations in the multi-way setting are presented. © 2005 Elsevier Ltd. All rights reserved.
Rapallo, F. (2006). Markov bases and structural zeros. Journal of Symbolic Computation, 41(2), 164–172. https://doi.org/10.1016/j.jsc.2005.04.002