
This repository contains the replication data and Stata code for the paper "Scale Economies, Managerial Learning, and Performance in an Emerging Mutual Fund Market: Panel Evidence from Morocco". The dataset includes monthly observations of 504 Moroccan mutual funds (OPCVMs) from December 2012 to December 2024, totaling 63,251 fund-month observations. Variables include fund returns, total net assets (TNA), fund age, fund flows, flow volatility, and risk-adjusted performance measures (Carhart 4-factor alpha, Fama-French 3-factor alpha, Jensen's alpha, and Sharpe ratio). The Stata script reproduces all empirical results in the paper, including: - Panel diagnostic tests (Pesaran CD test, CIPS unit root tests, Wooldridge AR(1) test, modified Wald heteroskedasticity test) - Main panel regressions with Driscoll-Kraay standard errors - Mundlak-Chamberlain correlated random effects estimation - Simultaneous quantile regressions with 200 bootstrap replications - Inter-quantile equality F-tests - First-differenced robustness specifications All results tables (Tables 2 through 5 and Appendix Tables A1-A2) can be reproduced by running the provided do-file.