A convenience function to reduce dimension by solving for one variable \(c\) in terms of others \(a\), \(b\), \(d\)
solveForCGivenABD(piVec, a, b, d)
The two-element vector of \((\pi_0, \pi_1)\)
The value for \(a\)
The value for \(b\)
The value for \(d\)
the value for \(c\)
Just solves the equation in closed form
Lai, Tze Leung and Lavori, Philip W. and Shih, Mei-Chiung. Sequential Design of Phase II-III Cancer Trials, Statistics in Medicine, Volume 31, issue 18, p.1944-1960, 2012.