This function retrieves information for a specific assumption cell. You can call this function from either a subroutine or a worksheet.
To call this function from a worksheet, use the name CB.GetAssumFN. Named constants do not work as arguments in worksheets. You must use the index number instead. |
Note that the CB.GetAssum call is not retrieving the name and value of the third and fourth parameters properly for assumptions defined with alternate parameter sets of a beta distribution via CB.DefineAltParms.
For best results, call CB.CheckData before calling this function to ensure the latest data values are used.
Table 85. CB.GetAssum Parameters
See Table 86 | Retrieves information for a specific assumption cell using constant and index values listed in Table 86 | ||
Specifies the target distribution parameter for Index equal to either cbAsmParmName or cbAsmParmValue |
For hypergeometric distributions, whether the distribution was created in pre-7.0 releases with the Probability parameter or in later versions of Crystal Ball with the Success parameter, index 17 for cbDfaHypergeometricSuccess is always returned and the first parameter and value are Success, not Probability. |
Table 86, following, shows named constant and index values for the Index parameter.
Index values cbAsmNumParms, cbAsmParmName, cbAsmParmValue, cbAsmLowCutOff, and cbAsmHighCutOff are not supported for custom distributions. |
Table 86. CB.GetAssum Index Parameter Values — Required, Integer
Returns the index value of the distribution type (See Table 53) | ||
Returns the name of the distribution parameter indexed by ParmNumber | ||
Returns the value of the distribution parameter indexed by ParmNumber | ||
Returns the extreme value distribution flag: 0=cbFlgMinimum, 1=cbFlgMaximum | ||
Returns True if the assumption is frozen and False if it is not frozen | ||
Returns True if the assumption uses sequential sampling and False if it does not |