I'm working with linear interpolation, where I have to calculate:
p' = \lambda_1*p_1 + \lambda_2*p_2 + \lambda_3*p_3
.
However, p_1, p_2, and p_3 are joint probabilities, and thus cannot be expressed as a float due to underflow. So I work in the log space, taking log2(p_1)
,log2(p_2)
, and log2(p_3)
.
Given the logs of the probabilities, I'm not too sure how to calculate p'
or log2(p')
. I can also calculate log2(p_1* \lambda_1)
, etc if necessary.