4
$\begingroup$

Suppose I have a data set with several variables where one of my variables is categorical. For instance, a rating from 1 to 10. Suppose it has missing values. I want to impute this data via regression or via the mean from another column. However, if I do this, I will get non-integer values in my data.

Will my data lose meaning if there are non-integer values? While I understand summary statistics like the mean can have non-integer values (e.g. 10.5 people), I am unfamiliar with imputation. For instance, if my data was comprised of survey entries, it would seem strange to have values in that column that couldn't have been filled out by the respondents, like 6.34 on a 1 to 10 scale where 6.5 wasn't an option for the respondents.

Are there separate imputation methods that should be used for categorical variables to avoid this problem? If categorical is too general, then please make the answer specific to rating scales like the example I gave.

$\endgroup$
0

1 Answer 1

4
$\begingroup$

There are imputation strategies which respect the ordinal nature of your data.

  1. You could fill in the missing data with the mode (rather than the mean) of the non-missing data.
  2. You can fill in the missing data by sampling from the non-missing data with probabilities proportional to the frequency of occurrence (possibly repeating this many times).
  3. A "hot deck imputation" approach, where the data is filled in using data from a similar unit.
  4. For a regression approach, you can use ordinal regression (rather than linear) to estimate the missing data

More to the point of your question, a non-integer value like $6.34$ may or may not be inappropriate. This largely depends on how you plan to use the data and what statistical methods you plan to use. In my opinion, it is best to use strategies which maintain the desired structure of the data.

$\endgroup$
1
  • $\begingroup$ Are there some typical trends in how these methods can distort the data? For instance, from what I've read, imputing the mean can attenuate linear relationships. Does imputing the mode, for example, have this issue? If sensible, perhaps you could add this info to the answer. $\endgroup$ Commented Dec 9, 2019 at 4:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.