Internal function used to fit roots of a polynomial made up of the product of bias factors.
deg_func(x, y, n, d)
A number. The variable to solve for.
A number. The observed risk ratio.
A number. Degree of polynomial in the numerator.
A number. Degree of polynomial in the denominator.
Returns the value of the expression. Used for root solving. At the function's roots, will return 0.