Re: [R] specifying a structural equation model with sem

2014-12-02 Thread John Fox
Dear David, There's nothing wrong with what you did: You've fit the independence model and a one-factor CFA model as I believe you intended. It's unnecessary to fit the first model because sem() computes the chisquare for the independence model in any event, and (as the message printed by speci

[R] specifying a structural equation model with sem

2014-12-02 Thread David Villegas RĂ­os
Hi all, I'm new to sem package and sem analyses, so this is probably very basic, although I was not able to solve it myself reading some other similar posts. I was trying to specify a structural equation model using a correlation matrix of three variables. The correlation matrix comes from a mixed