Re: [R] Structural equation modeling in R(lavaan,sem)

From: jouba <antrael_at_hotmail.com>
Date: Mon, 28 Mar 2011 17:45:11 -0700 (PDT)

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-225466_at_n4.nabble.com To: antrael_at_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_at_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.
Received on Tue 29 Mar 2011 - 07:05:08 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 29 Mar 2011 - 07:10:25 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive