0

I want to do dimensionality reduction on a dataset. One of the columns present is the Year and the values are 2000, up to 2015. When doing PCA, do you treat this column as a factor or as numeric?

Muli
  • 101
  • 1
  • 4
  • To include it in a PCA you'd have to treat it as numeric. There are alternatives to PCA, though, that can handle categorical variables: you could look up "categorical PCA" or "CATPCA". – rolando2 May 16 '20 at 14:32

1 Answers1

-1

I think it should be treated as a categorical variable. Maybe this can help.

Let's try
  • 101
  • 3