Skip to contents

Solves the likelihood equations for p_C subject to p_T - p_C = delta. Uses bisection on the score function (derivative of log-likelihood) which is monotonic and well-behaved.

Usage

mn_constrained_mle_pc_cpp(x_t, n_t, x_c, n_c, delta)