Asymptotic analysis of the squared estimation error in misspecified factor models