Testing for noninferiority and equivalence between an experimental therapy and a standard therapy in terms of the ratio of binomial proportions is considered. New tests based on the Fieller-Hinkley distribution of the ratio of random variables are proposed. Restricted maximum likelihood estimates of the null variances are used to derive the tests. Sample size determination is discussed. The proposed test procedure is extended to multiple tables. The tests are applied to numerical examples.