[R] [R-pkgs] lavaan version 0.4-8

From: Yves Rosseel <Yves.Rosseel_at_ugent.be>
Date: Wed, 27 Apr 2011 11:39:20 +0200

Dear R-users,

A new version of `lavaan' (for latent variable analysis) is now available on CRAN. The current version of lavaan (0.4-8) can be used for path analysis, confirmatory factor analysis, structural equation modeling, and growth curve modeling.

More information can be found on the website: http://lavaan.org

To get a first impression of how the 'lavaan model syntax' looks like, below is the full R code for fitting a SEM model:

## begin R Code ##
# The industrialization and Political Democracy Example # Bollen (1989), page 332
model <- '

# latent variable definitions

       ind60 =~ x1 + x2 + x3
       dem60 =~ y1 + y2 + y3 + y4
       dem65 =~ y5 + y6 + y7 + y8

# regressions
dem60 ~ ind60 dem65 ~ ind60 + dem60
# residual correlations
y1 ~~ y5 y2 ~~ y4 + y6 y3 ~~ y7 y4 ~~ y8 y6 ~~ y8

fit <- sem(model, data=PoliticalDemocracy) summary(fit, fit.measures=TRUE)
## end R code ##

Please feel free to contact me directly with questions and comments.


Yves Rosseel.

Yves Rosseel -- http://www.da.ugent.be
Department of Data Analysis, Ghent University
Henri Dunantlaan 1, B-9000 Gent, Belgium

R-packages mailing list

R-help_at_r-project.org mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Thu 28 Apr 2011 - 14:58:49 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 Thu 28 Apr 2011 - 15:00:34 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