This work proposes a new method for computing acceptance regions of exact multinomial tests. From this an algorithm is derived, which finds p-values tests simple hypotheses. Using concepts from discrete convex analysis, the proven to be various popular test statistics, including Pearson’s Chi-square and log-likelihood ratio. The proposed improves greatly on naive approach using full enumeration...