RiskTruncate

Description

 

RiskTruncate(minimum,maximum) truncates the corresponding input distribution.  Truncating a distribution restricts samples drawn from the distribution to values within the entered minimum-maximum range.  Truncated forms of specific distributions available in earlier versions of @RISK (such as RiskTnormal and RiskTlognorm) are still supported.

 

Examples

 

RiskTriang(10,20,30,RiskTruncate(13,27)) restricts the samples drawn from the RiskTriang(10,20,30) distribution to a minimum possible value of 13 and a maximum possible value of 27.

 

Guidelines

minimum must be less than or equal to maximum.

To enter a distribution that is truncated on only one side, leave the argument for the unbounded side blank, as in RiskNormal(10,1,RiskTruncate(5,)). This sets the minimum to 5 but leaves the maximum unbounded.

If RiskTruncate is applied to a distribution that also has a RiskShift function, the truncation occurs before the shift. If it is desirable to have the truncation occur after the shift, use the RiskTruncate2 property function.