Hello all, I am currently analyzing a strategy with alphalens. Basically, the hopeful alpha factor relates to dividend yield. So for example I'd like to purchase the top (say 20%) of companies with the highest dividend yield. I am therefore ranking them in descending order, so that #1 rank would be the company with the highest dividend yield.
My question is, depending on whether or not the rank is ascending or descending, my plots turn out quite different. Basically I am wondering what alphalens is considering quantile 1, and what it is considering quantile 5. With these ranked in descending order, the mean return in bps for quantile 5 looks positive... so I'd want to (in theory) buy that quantile. However if I change it to ascending order, the plots are exactly the opposite. I might be over thinking this, but with this factor ranked in DESCENDING order, would quantile 5 be the stocks with the highest dividend yield, or the lowest?
Thanks!
Thanks!