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

From: Jeremy Miles <jeremy.miles_at_gmail.com>
Date: Mon, 28 Mar 2011 12:28:38 -0700

On 28 March 2011 09:00, jouba <antrael_at_hotmail.com> 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]]

______________________________________________
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 Mon 28 Mar 2011 - 19:39:15 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