Displaying 20 results from an estimated 2000 matches similar to: "Structural equation modeling in R(lavaan,sem)"
[R-pkgs] New package: `lavaan' for latent variable analysis (including structural equation modeling)
2010 May 24
2
[R-pkgs] New package: `lavaan' for latent variable analysis (including structural equation modeling)
Hi Yves
lavaan looks like a very nice package.  From the tutorial introduction
I see you create path diagrams for some of the models you describe.
How did you do this?  I don't see a function for this in the package.
I know there is a path.diagram function in the sem package that uses
dot to draw the diagram, but I've always found the layouts from dot
somewhat strange for path diagrams
2011 Jun 01
3
error in model specification for cfa with lavaan-package
Dear R-List,
(I am not sure whether this list is the right place for my question...)
I have a dataframe df.cfa
2011 Mar 17
2
Incorrect degrees of freedom in SEM model using lavaan
I have been trying to use lavaan (version 0.4-7) for a simple path model,
but the program seems to be computing far less degrees of freedom for my
model then it should have.  I have 7 variables, which should give (7)(8)/2 =
28 covariances, and hence 28 DF.  The model seems to only think I have 13
DF.  The code to reproduce the problem is below.  Have I done something
wrong, or is this something I
2011 Mar 15
1
binary exogenous variable in path analysis in sem or lavaan
Hello all
I'm trying to run some path analysis in either sem or lavaan (preferably lavaan because I find its interface easier to use). Most of my variables are continuously distributed and fairly well-behaved but I have a single exogenous variable (sex) which is not continuously distributed. Preliminary model fitting suggests that there aren't any sex by (anything else) interactions. The
2010 May 19
0
New package: `lavaan' for latent variable analysis (including structural equation modeling)
Dear R-users,
A new package called `lavaan' (for latent variable analysis) has been 
uploaded to CRAN. The current version of lavaan (0.3-1) 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
Some notable features of lavaan:
- the 'lavaan model
2010 May 19
0
New package: `lavaan' for latent variable analysis (including structural equation modeling)
Dear R-users,
A new package called `lavaan' (for latent variable analysis) has been 
uploaded to CRAN. The current version of lavaan (0.3-1) 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
Some notable features of lavaan:
- the 'lavaan model
2013 Jan 23
2
CFA with lavaan or with SEM
Hi
Sorry for the rather long message.
I am trying to use the cfa command in the lavaan package to run a CFA however I am unsure over a couple of issues.
I have @25 dichotomous variables, 300 observations and an EFA on a training dataset suggests a 3 factor model.
After defining the model I use the command
fit.dat <- cfa(model.1, data=my.dat, std.lv = T, estimator="WLSMV",
2013 Feb 21
1
total indirect effects in structural equation modeling using lavaan
Hi all,
I am using package lavaan and have created a structural equation model with
two exogenous and seven endogenous variables with the following
relationships
#specify the model
m1 = '     # regressions
            D ~ ma + hs + b4 + b5 +  b15 + b16
            ma ~ hs + b4 + b5 + b15 + b16
            hs ~ b4 + b5 + b15 + b16
            b4 ~ el + la
            b5 ~ el + la
           
2012 Jul 09
1
Lavaan Package - How to Extract Residuals in Data Values
Hello R Community,
I am using the Lavaan package in R 2.15.0 to analyze data collected from
1200 lakes across North America. My dataset includes 3 continuous
independent variables (LOG_NTL, LOG_PTL, and LOG_SR_A_D) and 1 continuous
dependent variable (BIOVOL) . I have successfully constructed structural
equation models using the Lavaan package (example included below with
code), but I have not
2011 Jun 08
2
Results of CFA with Lavaan
I've just found the lavaan package, and I really appreciate it, as it
seems to succeed with models that were failing in sem::sem.  I need
some clarification, however, in the output, and I was hoping the list
could help me.
I'll go with the standard example from the help documentation, as my
problem is much larger but no more complicated than that.
My question is, why is there one latent
2011 Mar 18
5
confirmatory factor analysis program in R
Does someone have confirmatory factor analysis program in R,which includes
factor loading and some tests?thank you!
--
View this message in context: http://r.789695.n4.nabble.com/confirmatory-factor-analysis-program-in-R-tp3386133p3386133.html
Sent from the R help mailing list archive at Nabble.com.
2012 Jul 20
1
FIML using lavaan returns zeroes for coefficients
Hello!
I am trying to reproduce (for a publication) analyses that I ran several months ago using lavaan, I'm not sure which version, probably 0.4-12. A sample model is given below:
pathmod='mh30days.log.w2 ~ mh30days.log + joingroup + leavegroup + alwaysgroup + grp.partic.w2 + black + age + bivoc + moved.conf + local.noretired + retired + ds + ministrytime + hrswork + nomoralescore.c +
2011 Dec 01
3
FIML with missing data in sem package
Is there a way to use full information maximum likelihood (FIML) to
estimate missing data in the sem package? For example, suppose I have a
dataset with complete information on X1-X3, but missing data (MAR) on X4.
Is there a way to use FIML in this case? I know lavaan and openmx allow you
to do it, but I couldn't find anything in the documentation for the sem
package. Thanks!
-- 
Dustin Fife
2013 Mar 10
4
Confirmatory Factor Analysis
Hi,
I'm trying to perform a hierachical, second order CFA.
That's the thing that I need to leave AMOS.
I found some sim.hierarchical and omega stuff, but nothing clear enough.
Can anyone help me?
I just need a simple and clear manual.
Best,
Pablo.
	[[alternative HTML version deleted]]
2012 Aug 10
1
Lavaan: Immediate non-positive definite matrix
Hi,
I recently tried to estimate a linear unconditional latent growth curve on
7 repeated measures using lavaan (most recent version):
modspec='
alpha =~ 1*read_g0 + 1*read_g1 + 1*read_g2 + 1*read_g3 + 1*read_g4 +
1*read_g5 + 1*read_g6
beta =~ 0*read_g0 + 1*read_g1 + 2*read_g2 + 3*read_g3 + 4*read_g4 +
5*read_g5 + 6*read_g6
'
gmod=lavaan(modspec, data=math, meanstructure=T,
2009 May 22
1
Confirmatory factor analysis problems using sem package (works in Amos)
Hello all,
I'm trying to replicate a confirmatory factor analysis done in Amos.  The
idea is to compare a one-factor and a two-factor model.  I get the following
warning message when I run either model:
"Could not compute QR decomposition of Hessian.
Optimization probably did not converge."
I have no idea what to do here.  I believe posters reported the same
problem.  It seems
2011 Mar 11
2
confirmatory factor analysis in R
In R software,does it have packages about confirmatory factor analysis in R
software? 3Q
--
View this message in context: http://r.789695.n4.nabble.com/confirmatory-factor-analysis-in-R-tp3347618p3347618.html
Sent from the R help mailing list archive at Nabble.com.
2011 Apr 18
1
Multiple Groups CFA in Lavaan
Hello,
I am trying to do a multiple groups CFA in lavaan and I get the following
error message:
Error in cov(data.obs, use = "pairwise") : 'x' is empty
I'm not sure what this message is referring to, can anyone help me?
Thanks
--
View this message in context: http://r.789695.n4.nabble.com/Multiple-Groups-CFA-in-Lavaan-tp3457971p3457971.html
Sent from the R help mailing
2012 Oct 31
1
Lavaan model
Dear R-users,
Does somebody know what does the "Estimate" reported by the Lavaan model
tell us?
I assume this tells the relative strength of the dyadic relations. 
Thank you for your help!
Regards,
Sylvain
--
View this message in context: http://r.789695.n4.nabble.com/Lavaan-model-tp4648004.html
Sent from the R help mailing list archive at Nabble.com.
2011 Apr 27
0
lavaan version 0.4-8
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