A note on computation algebra for discrete statistical models