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

From: Jeremy Miles <>
Date: Sun, 03 Apr 2011 22:12:45 -0700

On 3 April 2011 12:38, jouba <> wrote:
> Daer all,
> I have a question concerning longitudinal data:
> When we have a longitudinal data and we have to do sem analysis there is in the package lavaan some functions,options in this package that help to do this or we can treat these data like non longitudinal data

No, and (qualified) no.

  1. There are (AFAIK) no options, functions that are specific to longitudinal data.
  2. You don't treat these data as non-longitudinal data, you add parameters that are appropriate though. For example, look at the model shown on dem60 and dem65 are two measures of the same construct at different timepoints, so there are correlations over time for each pair of measured variables that are measures of that construct - i.e. y1 ~~ y5
  3. You would get much better answers on the SEM mailing list - semnet. You can join it here:


Jeremy Miles
Psychology Research Methods Wiki:

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Mon 04 Apr 2011 - 05:17:05 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 Mon 04 Apr 2011 - 06:40:27 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive