There are a number of clustering routines available in R such as kmeans and
Mclust that may be applicable. Also on Cran is my depmix package which is
meant for analyzing dependent mixtures but can also be used to do latent
class analysis on mixed indicators, ie gaussian and binary indicators as you
seem to have.
hth, ingmar


On 12/5/05 5:34 PM, "ronggui" <[EMAIL PROTECTED]> wrote:

> 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 !
>  
> 
> 2005-12-06
> 
> ------
> Deparment of Sociology
> Fudan University
> 
> My new mail addres is [EMAIL PROTECTED]
> Blog:http://sociology.yculblog.com
> 
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

-- 
Ingmar Visser
Department of Psychology, University of Amsterdam
Roetersstraat 15, 1018 WB Amsterdam
The Netherlands
http://users.fmg.uva.nl/ivisser/
tel: +31-20-5256735

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to