[R] how to construct an index or classify the cases with the combination of categorical and continuous variables

ronggui 042045003 at fudan.edu.cn
Mon Dec 5 17:34:17 CET 2005

I have such a dataset.
x1 x2 x3 x4
1  1  0  2
0  1  1  10
1  0  1  30

x1,x2,x3 are categorical variable(the value can be 0 or 1),and x4 is a continuous variable.
x1,x2,x3,x4 is the manifest(measurable) variables which reflect one immeasurable variable.
If all of x1-x4 are continuous variables,I can do factor analysis to extract the immeasurable "variable",but some of them are categorical variable which violate the assumptions of factor analysis.So is there anyway to extract the immeasurable "variable" or construct an index based on these variable?

If NOT,then is there any way to classify the cases in to two categories? If all the variables are binary,I can use latent class analysis to do it,but how about binary variables plus countinuous variables?

It is not a R question,I just want some one help me out!
Thank you !


Deparment of Sociology
Fudan University

My new mail addres is ronggui.huang at gmail.com

More information about the R-help mailing list