Convert From Slope to Exponent Parameterization for Drug i in the MuSyC Model
MuSyC_si_to_hi.RdThis can be used for setting priors and interpreting parameter estimates
Details
Claim: When d1=0 and d2=C2 then the gradient of the response
with respect to d2 is the s2, symbolically d(Ed)/d(d2) = s2 where
s2 = h2 * (E0 + E2) / (4 * C2) then
Cancel the C1^h1 terms:
Distribute the derivative across the terms in the numerator
= E0 * C2^h2 * (d/d(d2) 1 / (C2^h2 + d2^h2)) +
E2 * (d/d(d2) d2^h2 / (C2^h2 + d2^h2))
= E0 * C2^h2 * (h2 * d2^(h2-1) / (C2^h2 + d2^h2)^2) +
E2 * (C2^h2 * h2 * d2^(h2-1) / (C2^h2 + d2^h2)^2)
= (E0 + E2) * C2^h2 * h2 * d2^(h2-1)/(C2^h2 + d2^h2)^2Evaluate at d2 = C2: