**6.7 Converting the PDF to a CDF**

The probability density function (PDF) is then converter to a cumulative distribution function (CDF) by integration. The integration order is run along the row, then the second row, then the third row, etc. As expected, the first element of the CDF array is zero and the last two elements are equal to 1. This is in recognition of the fact that the diagonal elements in the PDF are always zeros.


*A Universal Methodology for Generating Elevator Passenger Origin-Destination Pairs… DOI: http://dx.doi.org/10.5772/intechopen.93332*

