  In this paper we develop a framework for parameter estimation in macroscopic
pedestrian models using individual trajectories -- microscopic data. We
consider a unidirectional flow of pedestrians in a corridor and assume that the
velocity decreases with the average density according to the fundamental
diagram. Our model is formed from a coupling between a density dependent
stochastic differential equation and a nonlinear partial differential equation
for the density, and is hence of McKean--Vlasov type. We discuss
identifiability of the parameters appearing in the fundamental diagram from
trajectories of individuals, and we introduce optimization and Bayesian methods
to perform the identification. We analyze the performance of the developed
methodologies in various situations, such as for different in- and outflow
conditions, for varying numbers of individual trajectories and for differing
channel geometries.
