Skip to main content
edited tags
Link
kjetil b halvorsen
  • 82.8k
  • 32
  • 201
  • 663
removed signature & thanks
Source Link
gung - Reinstate Monica
  • 147.5k
  • 89
  • 406
  • 716

Methods for merging  /reducing reducing categories in ordinal or nominal data?

I'm struggling to find a method for reducing the number of categories in nominal or ordinal data.

For example, let's say that I want to build a regression model on a dataset that has a number of nominal and ordinal factors. While I have no problems with this step, I often run into situations where a nominal feature is without observations in the training set, but subsequently exists in the validation dataset. This naturally leads to and error when the model is presented with (so far) unseen cases. Another situation where I would like to combine categories is simply when there are too many categories with few observations.

So my questions are:

  • While I realize it might be best to combine many nominal (and ordinal) categories based on the prior real-world background information they represent, are there systematic methods (R packages preferably) available?
  • What guidelines and suggestions would you make regarding, cut-off thresholds and so on?
  • What are the most popular solutions in literature?
  • Are there other strategies than combining small nominal categories to a new, "OTHERS" category?

Please feel free to chime in if you have other suggestions also.

Thanks, Figaro

Methods for merging/reducing categories in ordinal or nominal data?

I'm struggling to find a method for reducing the number of categories in nominal or ordinal data.

For example, let's say that I want to build a regression model on a dataset that has a number of nominal and ordinal factors. While I have no problems with this step, I often run into situations where a nominal feature is without observations in the training set, but subsequently exists in the validation dataset. This naturally leads to and error when the model is presented with (so far) unseen cases. Another situation where I would like to combine categories is simply when there are too many categories with few observations.

So my questions are:

  • While I realize it might be best to combine many nominal (and ordinal) categories based on the prior real-world background information they represent, are there systematic methods (R packages preferably) available?
  • What guidelines and suggestions would you make regarding, cut-off thresholds and so on?
  • What are the most popular solutions in literature?
  • Are there other strategies than combining small nominal categories to a new, "OTHERS" category?

Please feel free to chime in if you have other suggestions also.

Thanks, Figaro

Methods for merging  / reducing categories in ordinal or nominal data?

I'm struggling to find a method for reducing the number of categories in nominal or ordinal data.

For example, let's say that I want to build a regression model on a dataset that has a number of nominal and ordinal factors. While I have no problems with this step, I often run into situations where a nominal feature is without observations in the training set, but subsequently exists in the validation dataset. This naturally leads to and error when the model is presented with (so far) unseen cases. Another situation where I would like to combine categories is simply when there are too many categories with few observations.

So my questions are:

  • While I realize it might be best to combine many nominal (and ordinal) categories based on the prior real-world background information they represent, are there systematic methods (R packages preferably) available?
  • What guidelines and suggestions would you make regarding, cut-off thresholds and so on?
  • What are the most popular solutions in literature?
  • Are there other strategies than combining small nominal categories to a new, "OTHERS" category?

Please feel free to chime in if you have other suggestions also.

Tweeted twitter.com/#!/StackStats/status/42001793076576256
Source Link
Figaro
  • 1.2k
  • 2
  • 12
  • 27

Methods for merging/reducing categories in ordinal or nominal data?

I'm struggling to find a method for reducing the number of categories in nominal or ordinal data.

For example, let's say that I want to build a regression model on a dataset that has a number of nominal and ordinal factors. While I have no problems with this step, I often run into situations where a nominal feature is without observations in the training set, but subsequently exists in the validation dataset. This naturally leads to and error when the model is presented with (so far) unseen cases. Another situation where I would like to combine categories is simply when there are too many categories with few observations.

So my questions are:

  • While I realize it might be best to combine many nominal (and ordinal) categories based on the prior real-world background information they represent, are there systematic methods (R packages preferably) available?
  • What guidelines and suggestions would you make regarding, cut-off thresholds and so on?
  • What are the most popular solutions in literature?
  • Are there other strategies than combining small nominal categories to a new, "OTHERS" category?

Please feel free to chime in if you have other suggestions also.

Thanks, Figaro