A NOTE ON COMPUTATION ALGEBRA FOR DISCRETE STATISTICAL MODELS