Bridging the Micro and Macro: Calibration of Agent-Based Model Using Mean-Field Dynamics