Error Messages/42458
Error messages
The first parameter of CumDist, «p», must be non-decreasing along «I». The second parameter of CumDist, «r», must be strictly increasing along «I».
Cause
When using CumDist, you specify a series of "way points", (pi, ri), each specifying a value from a range of possible values and a cumulative probability. CumDist expects you to specify these in order. The set of range values, ri must be strictly increasing, meaning that ri < ri+1. The set of cumulative probabilities must be non-decreasing, so that pi ≤ pi+1. One of the above messages appear when one or the other of these is violated.
You might encounter the second error (for «r») if you specified the wrong index parameter. Suppose you have P
and R
indexed by J
, but you wrote: CumDist(P, R, I)
. According to Analytica's conventions, P
and R
are implicitly constant along I
, since they don't explicitly contain that index. Since R
is constant, it is not strictly increasing.
Remedy
Fix the parameters to CumDist to be increasing or non-decreasing, as specified.
Enable comment auto-refresher