Displaying 6 results from an estimated 6 matches for "meanstructure".
2012 Nov 16
1
polycor package
...0.4200360 -0.5042006 0.8789219 1.0000000
> viewData(hetcor)
> cdu= ' CDULIKE ~ cdupid + CDUPROX
+ MERKELLIKE ~ cdupid + MERKELPROX
+ CDUPROX ~ ~ cdupid
+ cdupid ~ ~ MERKELPROX
+ CDUPROX ~ ~ MERKELPROX
+ MERKELLIKE ~ 1
+ CDULIKE ~1 '
> sem.cdu= sem(cdu, hetcor, N=1861, meanstructure=F,fixed.x=F)
Warning message:
In if (orthogonal) { :
the condition has length > 1 and only the first element will be used
> sem.cdu= sem(cdu, hetcor, meanstructure=F,fixed.x=F)
Warning message:
In if (orthogonal) { :
the condition has length > 1 and only the first element will be used...
2012 Aug 10
1
Lavaan: Immediate non-positive definite matrix
...ve 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, int.ov.free=F, int.lv.free=
T, auto.var=T, auto.cov.lv.x=T, auto.cov.y=T, missing="direct", verbose=T)
The model immediately returned the following error message:
Error in chol.default(S) :
the leading minor of order 5 is not positive definite
Error in lavSampleStatsFromData(Data...
2010 May 19
0
New package: `lavaan' for latent variable analysis (including structural equation modeling)
...and reliable: there are no convergence problems and
numerical results are very close (if not identical) to the commercial
package Mplus
- many different estimators are available: ML, GLS, WLS, robust ML using
Satorra-Bentler corrections, and FIML for data with missing values
- full support for meanstructures and multiple groups
- user friendly output including standardized solutions, fit measures,
modification indices and more
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 ##
library(lavaan)
# The...
2010 May 19
0
New package: `lavaan' for latent variable analysis (including structural equation modeling)
...and reliable: there are no convergence problems and
numerical results are very close (if not identical) to the commercial
package Mplus
- many different estimators are available: ML, GLS, WLS, robust ML using
Satorra-Bentler corrections, and FIML for data with missing values
- full support for meanstructures and multiple groups
- user friendly output including standardized solutions, fit measures,
modification indices and more
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 ##
library(lavaan)
# The...
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
[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)
...nce problems and
> numerical results are very close (if not identical) to the commercial
> package Mplus
>
> - many different estimators are available: ML, GLS, WLS, robust ML using
> Satorra-Bentler corrections, and FIML for data with missing values
>
> - full support for meanstructures and multiple groups
>
> - user friendly output including standardized solutions, fit measures,
> modification indices and more
>
> To get a first impression of how the 'lavaan model syntax' looks like,
> below is the full R code for fitting a SEM model:
>
> ##...