Skip to content
Prev 180987 / 398502 Next

sem with categorical data

Dear Frank,

Did you take a look at the data you generated? The contingency tables
are extremely sparse. Try, e.g., with(dat, table(q1, q2)). (I assume,
BTW, that you're using the cut2() function in the Hmisc package.)

Beyond that, I'm not sure what the point is of your example. You're
generating three independent lognormal random variables while the model
assumed by polychoric correlation is of multinormal random variables;
of course, these *could* be independent, but generally would not.

I hope this helps,
 John

On Wed, 20 May 2009 12:55:49 -0400
"Frank Lawrence" <frl2 at psu.edu> wrote:
--------------------------------
John Fox, Professor
Department of Sociology
McMaster University
Hamilton, Ontario, Canada
http://socserv.mcmaster.ca/jfox/