You are now a lot of the way there. The goal is to do this kind of analysis all the way down for all of your variables, finding why there is any odd data - negatives, NaN, zeros, etc. You can use filters, look at the data, summary stats, etc.
We filtered the companies based on certain criteria that we felt encompassed poor performance standards. We selected the metrics EBIT margin, return on capital, revenue, and beta and set specific ranges. We sorted the list of poor performing companies by each firm's EV/EBITDA multiple in descending order where we were able to identify three companies in particular that met our criteria. Those three companies were Nike (NKE), Tetra Tech (TEK), and CorVel Corporation (CRVL). Based on the metrics we selected, these companies appeared overvalued and were assigned a sell rating by our group.
We repeated the same process for the high performing companies. We selected ranges with the same metrics and adjusted the ranges accordingly. We sorted the high performing firms by the EV/EBITDA multiple in ascending order where we were able to identify three companies in particular that met our criteria. These companies: Great Panther Mining (GPR), Sage Therapeutics (SAGE), B2Gold (BTO). Based on the metrics we selected, these companies appeared undervalued and were assigned a buy rating by our group.