A computer program product with instructions for measuring parameters which describe a particle size distribution of particles in a liquid, based on a series of particle reflection measurements, in each of which a signal beam is generated in the liquid and a measured value (A) of a property of a reflection by a particle in a path of the signal beam in the liquid is measured;
- and wherein the instructions are arranged for performing the steps of:
- generating a maximum likelihood estimation of the parameters in view of a combination of the measured values (A), on the basis of an expression for a probability of the measured values as a function of the measured values, which expression contains a first factor (P) for a probability of a particle reflection measurement of which a particle reflection with the measured value forms a part, corrected with a second factor (Q) for a probability that there is not also a particle reflection with a dominating value of the property, which would mask the measured value, forming part of the particle reflection measurement.