similar to: Negative variance with lavaan in a multigroup analysis.

Displaying 20 results from an estimated 200 matches similar to: "Negative variance with lavaan in a multigroup analysis."

2012 Oct 23
1
SEM multigroup modeling
Hello, I am using the SEM package in R to fit a multigroup latent variable model and ran into some difficulties. I have 2 questions: 1. First, I am getting the following error message and wondering what to do to fix it: Error in solve.default((N[g] - 1) * robustVcov(mod.g, adj.obj = adj.objects[[g]])) : system is computationally singular: reciprocal condition number = 4.52055e-23
2012 Feb 09
0
Question about measurment invariance in a multigroup SEM
Hello All, I have a question about measurement invariance in a multigroup SEM. I am of the impression that one cannot test the equality of structural paths across groups without demonstrating measurement invariance of latent factors first. At a minimum, this would involve demonstrating that corresponding factor loadings do not differ across groups using, say, a difference in chi-square test. Am
2012 Feb 09
1
Hotelling T2 test extension for multigroup data
Hi all, I've got the following matrix : ? mat <- matrix(rnorm(700), ncol=5, dimnames=list( paste("f", c(1:140), sep="_"), c("A", "B", "C", "D", "E"))) I can see that currently most of the multivariate Hotelling T2 tests are limited for application on two groups/samples. I wud appreciate if someone can provide me a
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
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 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
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
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
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.
2013 Apr 29
0
lavaan and semTools warning message
Hello all, I am running a simple path analysis with the function sem.mi (of semTools) after doing multiple imputation in my (missing) data. However, depending on the option to combine the chi-square, I get the following warning messages: Warning messages: 1: In estimateVCOV(lavaanModel, samplestats = lavaanSampleStats, ... : lavaan WARNING: could not compute standard errors! 2: In
2011 Aug 09
1
lavaan: how to analyse residuals of a latent variable
Hi r-help, I use lavaan:sem() for structural equation modelling with latent variables. Below is a reproducible example (the code requires a working installation of lavaan) where the latent variable criminality is in focus. Besides criminality in general, I am specifically interested one of the manifest variables that make up the latent variable criminality, namely fire.setting. My question is:
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
2011 Mar 27
2
Structural equation modeling in R(lavaan,sem)
I am a new user of the function sem in package sem and lavaan for structural equation modeling 1. I don?t know what is the difference between this function and CFA function, I know that cfa for confirmatory analysis but I don?t know what is the difference between confirmatory analysis and structural equation modeling in the package lavaan. 2. I have data that I want to analyse but I have some
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
2012 Apr 25
2
GFI en modelos estructurales con lavaan
Se ha borrado un adjunto en formato HTML... URL: <https://stat.ethz.ch/pipermail/r-help-es/attachments/20120425/dafc9a68/attachment.html>
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,
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 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