Skip to content
Prev 130276 / 398500 Next

PCA with NA

The 'factor.model.stat' function (available in the public
domain area of http://www.burns-stat.com) fits a principal
components factor model to data that can have NAs.
You might be able to copy what it does for your purposes.
It does depend on there being some variables (columns)
that have no missing values.

If that doesn't work for you, then I would guess that doing
missing value imputation could be another approach.  I'm
sure there be dragons there -- perhaps others on the list
know where they lie.

Patrick Burns
patrick at burns-stat.com
+44 (0)20 8525 0696
http://www.burns-stat.com
(home of S Poetry and "A Guide for the Unwilling S User")
Birgit Lemcke wrote: