That's a bit clearer, but:
How do you calculate the returns of the risk factors? Also, does the variable id represent a security?
I want identify the two best and worst returns of ex_ret and then check if the risk factors also experience the best and worst returns on those exact months, i.e. if they coincide.
Comment