This paper addresses two shortcomings of the data-driven stochastic fundamental diagram for freeway traffic. The first shortcoming is related to least-squares methods which have been widely used in establishing traffic flow diagrams. We argue that these are not suitable generate percentile-based diagrams, because results generated by represent weighted sample mean, rather than percentile. secon...