I need to find the factors which are most impacting the number of students failed in a class. So, I have a dataset containing number of students failed and variables which are specific to the school, class etc. Essentially, I want to figure out the variables which are affecting "number of students failing".
If the Y-variable was a continuous one I could have run a linear regression and have sorted the variables based on their t-values. But since, I have a discrete dependent variable what methodology should I implement here?