3 ms·
As it goes with maxims like this, it depends on the problem domain. In probability theory and statistics, a cumulative distribution function is defined as F(x)
by nequo 4y ago
As it goes with maxims like this, it depends on the problem domain. In probability theory and statistics, a cumulative distribution function is defined as F(x) := Pr(X <= x), not Pr(X < x).
Like others are saying, it is consistency within the code base that probably matters the most.
- lupire 4y agoThat difference only matters for discrete probability, and has the problem that the empty interval X<0 is impossible to represent.