Hi everyone / poLCA gurus, I'm facing a problem regarding conditional dependence and poLCA. Using a few data sets composed of only 1's and 2's, i'm able to do a latent class analysis for independent data columns using poLCA.
The commands I use to do this are something like, bcs = read.csv("data.csv", header=T); response = data.frame(bcs[0:5]); names(response) attach(response) f = cbind(A,B,C,D,E)~1 poLCA(f,data=response, nclass=2); However, my question is, how must I modify this for conditional dependence ? assuming that some columns are dependent or each other, and that instead of just 1 and 2, dependent columns have been merged and may bear values 1,2,3 or 4, how should I modify the above command for latent class analysis ? Please advice... -- Thanks and Best Regards, Suranga [[alternative HTML version deleted]] ______________________________________________ R-help@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.