i am working with the same data with the two sem functions in packages lavaan 
and sem
the manner how  description of the model are differnt for  the the funcion in 
sem 
and the function sem in  lavaan
 
Thanks a lot 

Antra EL MOUSSELLY 


 


Date: Mon, 28 Mar 2011 12:33:46 -0700
From: ml-node+3412819-419762937-225...@n4.nabble.com
To: antr...@hotmail.com
Subject: Re: Structural equation modeling in R(lavaan,sem)

On 28 March 2011 09:00, jouba <[hidden email]> wrote: 

Your syntax is not very tidy. That makes it hard to check. 


> x1 <->x1, sigmma7, NA 
> for me this  an exogen variable and i am not obliged to specify this 
> equation 
> 
> model.se<-specify.model() 
> x1->x2,gamm1,NA 
> x2->x3,gamm2,NA 
> x3>x4,gamm3,NA 
> 

That's probably wrong. 


> x4->x5,gamm4,NA 
> x7->x6,gamm5,NA 
> x6->x5,gamm6,NA 
> 

Are the above two correct? 


> x2 <->x2 ,sigmma1,NA 
> x3 <->x3 ,simma2,NA 
> x4 <->x4 ,sigmma3,NA 
> x5 <->x5 ,sigmma4,NA 
> x7 <->x7 ,sigmma5,NA 
> 
x6 <->x6 ,sigmma6,NA 
> 
> 

It's a somewhat unusual looking model. What are you trying to do? 

Jeremy 


-- 
Jeremy Miles 
Psychology Research Methods Wiki: www.researchmethodsinpsychology.com 

        [[alternative HTML version deleted]] 

______________________________________________ 
[hidden email] 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. 






If you reply to this email, your message will be added to the discussion 
below:http://r.789695.n4.nabble.com/Structural-equation-modeling-in-R-lavaan-sem-tp3409642p3412819.html
 
To unsubscribe from Structural equation modeling in R(lavaan,sem), click here.  
                                          

--
View this message in context: 
http://r.789695.n4.nabble.com/Structural-equation-modeling-in-R-lavaan-sem-tp3409642p3413439.html
Sent from the R help mailing list archive at Nabble.com.
        [[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.

Reply via email to