[R] how to deal with continous and Non continuous mixed variables in factor analysis?

Aldi Kraja aldi at wustl.edu
Sun May 12 08:26:20 CEST 2013


Hi,

The continues variables can be handled easy via factanal function.
?factanal
Binary or ordinal variables can be handled via ltm package, which 
implements item response theory.
?ltm

Hope this helps.

Aldi

On 5/11/2013 8:06 PM, Klot Lee wrote:
> hi,
> when I am doing factor analysis, there is continous and Non continuous
> variables(classified variables). Does "psych" package handle this?  Is
> there any difference between continous variables and non ones or mixed ones
> when doing factor analysis? If there is, which packages should I use then?
>
> My data look like this:
>
> a01   a02   a03   a04   a05
> 14.7  11.9  0.99    0      4
> 20.1   5.5   0.98   1      3
> 11.6   1.9   0.98    0      7
> 54.3   5.7  0.36    0      5
> ......
>
> variable a01, a02, a03 is continuous and a04, a05 is Non continuous. when I
> do factor analysis by psych package, the results is not good enough, so is
> there some method handle data like this?
>
>
>
> Thanks.
>
> klot
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.


--



More information about the R-help mailing list