Re: [R] Problem with package sem

2006-07-10 Thread John Fox
Dear Gang, I'm not clear about the form of the model that you're trying to fit, nor what the form of the likelihood would be for such as model, but the short answer is that sem() requires that each covariance among observed variables be for the same observations and hence for the same number (N)

[R] Problem with package sem

2006-06-29 Thread Gang Chen
Hi experts, I just started to learn R today, and tried to work with an add-on package sem. I have a version of 2.3.1 on MacOS X 10.4.6 with sem put under /Library/Frameworks/R.framework/Versions/2.3/Resources/library However when I typed library(sem) the following error showed up: Error

Re: [R] Problem with package sem

2006-06-29 Thread Uwe Ligges
Gang Chen wrote: Hi experts, I just started to learn R today, and tried to work with an add-on package sem. I have a version of 2.3.1 on MacOS X 10.4.6 with sem put under /Library/Frameworks/R.framework/Versions/2.3/Resources/library However when I typed library(sem) the

Re: [R] Problem with package sem

2006-06-29 Thread John Fox
Dear Gang Chen, I expect that either you didn't install the package properly (see ?install.packages) or installed a version of the package for an earlier version of R. I hope this helps, John On Wed, 28 Jun 2006 17:14:10 -0400 Gang Chen [EMAIL PROTECTED] wrote: Hi experts, I just started