Statistics for Macroeconomic models with endogenous learning