Been unable to figure this out for a while...
I'm trying to develop a formula for calculating the expected value of a triangular probability density function if provided with the p10, mode, and p90 input parameters.
For example, I'm given a triangular probability density function with p10 = 10, mode = 12, and p90 = 16. My formula should calculate the expected value of this function, which is 12.86.
I started by isolating the case in which the p90 - mode > mode - p10 (i.e. a right-skewed triangle). In this case, the EV will be to the right of the mode on the number line.
I know that the area enclosed by this entire triangle should be set to 1. I also know that the EV divides the weight of the triangle evenly. Thought I had it cracked when I integrated the right side of this triangle from x=EV to x=P90, setting the result to 2/5. However, I couldn't get this to work.
I've used a mix of geometry and calculus but have struggled to figure it out. If given min, mode, and max I can easily calculate the p10 and p90 values. But doing it the opposite way is proving challenging. Think I'm just tired - feel like this should be easy.
Maybe someone has already done this and can get me going in the right direction.
I'm trying to develop a formula for calculating the expected value of a triangular probability density function if provided with the p10, mode, and p90 input parameters.
For example, I'm given a triangular probability density function with p10 = 10, mode = 12, and p90 = 16. My formula should calculate the expected value of this function, which is 12.86.
I started by isolating the case in which the p90 - mode > mode - p10 (i.e. a right-skewed triangle). In this case, the EV will be to the right of the mode on the number line.
I know that the area enclosed by this entire triangle should be set to 1. I also know that the EV divides the weight of the triangle evenly. Thought I had it cracked when I integrated the right side of this triangle from x=EV to x=P90, setting the result to 2/5. However, I couldn't get this to work.
I've used a mix of geometry and calculus but have struggled to figure it out. If given min, mode, and max I can easily calculate the p10 and p90 values. But doing it the opposite way is proving challenging. Think I'm just tired - feel like this should be easy.
Maybe someone has already done this and can get me going in the right direction.