3
$\begingroup$

I have a data-set containing only Categorical Variables. I needed to do Principal Component Analysis on the data set. Eventually, I found Multiple Correspondence Analysis and learnt it. But, in MCA, it's assumed that, each of the Categorical variable has only one of the levels as True and others as False, i.e an observation can not belong more than 1 category of the same variable.

But in my data-set, I have multiple value for a categorical variable. For example, a disease has a set of symptoms, so, symptoms feature is a multi-valued categorical variable, where each of the symptom creates a different level. So for a disease, symptom feature can have multiple levels as true.

How do I run PCA/MCA/FAMD on such data-set? Is there any solution to this issue?

Thanks a lot for helping.

$\endgroup$
4
  • $\begingroup$ Are the symptoms mutually exclusive? $\endgroup$ Commented Apr 2, 2018 at 18:40
  • $\begingroup$ Why do you need to do PCA? $\endgroup$ Commented Apr 2, 2018 at 18:40
  • $\begingroup$ Yes, for this purpose we're assuming that the symptoms are mutually exclusive. This is for my undergraduate thesis and my supervisor wanted me to find the main factors that can be used to classify and may be even predict potential disease outbreaks. And the categorical variable in question is one of the features. $\endgroup$
    – numan947
    Commented Apr 3, 2018 at 15:29
  • $\begingroup$ So you want to predict the presence/absence of symptoms, given some other feature? Or you only have the symptom indicators, and you want to infer the underlying disease status? $\endgroup$ Commented Apr 3, 2018 at 16:57

1 Answer 1

2
$\begingroup$

Non-mutually exclusive categories may be an issue for multiple correspondence analysis (MCA) if you don't treat your dataset adequately.

The commonplace solution is simply to treat these non-mutually exclusive categories as binary variables (e.g. instead of "symptoms: fever/dizziness/sneezing" -> "fever: yes/no", "dizziness: yes/no", etc.).

Now, if you converted these categories as distinct binary variables, you might still want to consider them as belonging to the same group of variables. In this case, an option is to use multiple factor analysis as an extension of MCA.

For mutually exclusive categories (e.g. blood group), this is not a problem at all for MCA, and statistical software generally deal internally with that. So in this case, you generally don't have to convert these categories to binary variables, though it may be a good idea to look at the software documentation to avoid bad surprises.

$\endgroup$

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.