# One class of Ordinal DV values has too few observations - best way to address

I am doing an ordinal classification using glmnet, with 3 level class DV: 1 (bad), 2(ok), 3(good). I am trying to fit a model to this ordinal DV, and find best features. The problem is that one of the classes, ie (1- bad), only has 50 out of 5000 observations, the other two classes have around around equal number of observations. This is leading to a number of problems, I believe, and I am trying to find the best solution to address it.

Here is what I've tried:

model <- polr(Y ~., train, Hess=TRUE)

output:
Warning message:
In polr(Y ~ ., train, Hess = TRUE): design appears to be rank-deficient, so dropping some coefs


Also qda.fit=qda(Y~.,data=train)

Error in qda.default(x, grouping, ...): rank deficiency in group 1


So I read the following which explains there could be a number of reasons for insufficient data here: What is rank deficiency, and how to deal with it?. The main quote here below is intro. The answer suggests some causes without going into best way- at least not that I can glean - to address my specific case.

"Rank deficiency in this context says there is insufficient information contained in your data to estimate the model you desire. It stems from many origins. I'll talk here about modeling in a fairly general context, rather than explicitly logistic regression, but everything still applies to the specific context."

My thinking about options:

• Remove level 1 class and do a binomial logistic regression
• Merge the level 1 with another class somehow - not sure best way to do that
• Something else?

Option 1 is easiest but is that the best option. My concern is this: While there is very little data, there is a pattern, and it also makes sense that very few reviews would be the lowest, relative to others. I'm loath to throw the data out.

Would appreciate some insight from those more experienced.

• When I create data with 50 in outcome category 1 versus ~2475 in other two outcome categories, I am still able to obtain results for the models you demo. For ordinal regression, this type of problem may be a separation problem. And the most common method for dealing with such problems is a penalization method. Usually, the regression should run, but you should obtain strange large standard errors. Check out the ordinalNet package, it is supposed to perform penalized ordinal regression. – Heteroskedastic Jim Dec 7 '17 at 4:42