bs0d
Well-known Member
- Joined
- Dec 29, 2006
- Messages
- 622
I'm trying to calculate the f(x) for a triangular distribution.
here are the inputs:
min: 604
max: 2390.75
most likely (ML):994.45
here is the first random number: 604
This is the formula I'm using:
=IF(B3<= (ML-MAX)/(MAX-MIN), MIN+SQRT((ML-MAX)*(MAX-MIN)*B3), MAX-SQRT((MAX-ML)*(MAX-MIN)*(1-B3)))
B3 contains the random number 604. The result is #N/A. Something is wrong, I can't find it. Any help
here are the inputs:
min: 604
max: 2390.75
most likely (ML):994.45
here is the first random number: 604
This is the formula I'm using:
=IF(B3<= (ML-MAX)/(MAX-MIN), MIN+SQRT((ML-MAX)*(MAX-MIN)*B3), MAX-SQRT((MAX-ML)*(MAX-MIN)*(1-B3)))
B3 contains the random number 604. The result is #N/A. Something is wrong, I can't find it. Any help