Dear all,
I’m working with a dataset of 396 observations and 148 variables. I’m trying to drop a variable if its total sum is the largest among the total sum of the rest of the variables. Each variable is a firm, and each observation is monthly profits. I’m trying to drop the firm with the largest sum of profits and for a second analysis, drop the first and second firms with the largest sum of profits. Any suggestion on how I should approach this?

Thank you,
Veronica