Identifying common dynamic features in stock returns