Factor models, mean-reversion time, and statistical arbitrage