Displaying 20 results from an estimated 9000 matches similar to: "Question about measurment invariance in a multigroup SEM"
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 Jun 04
0
Negative variance with lavaan in a multigroup analysis.
Hi list members,
I saw a couple lavaan posts here so I think I?m sending this to the
correct list.
I am trying to run a multigroup analysis with lavaan in order to
compare behavioural correlations across two populations. I?m following
the method suggested in the paper by Dingemanse et al. (2010) in
Behavioural Ecology.
In one of the groups, lavaan returns negative variance for one path
and I?m
2012 Nov 01
2
SEM validation: Cross-Validation vs. Bootstrapping
Hello All,
Recently, I was asked to help out with an SEM cross-validation analysis. Initially, the project was based on "sample-splitting" where half of cases were randomly assigned to a training sample and half to a testing sample. Attempts to replicate a model developed in the training sample using the testing sample were not entirely successful. A number of parameter estimates were
2007 Mar 16
0
Segmentation fault in estimating structural equation models with the SEM package.
Dear R-users,
I am running a large number of simulations and estimating a
structural equation model for each one using the SEM package. Each
run of my program has around 8000 simulations. Most of the time the
program completes all of them correctly but sometimes I get a
segmentation fault in the sem routine and my program stops with the
following error message:
> *** caught
2012 Nov 04
1
structural equations using sem package
Hello
I am using sem to look at the direct effect of one variable on another but i am uncertain if i am progressing correctly.
An example:
covar1<-? matrix(c(0.4,-0.2,3,-0.2 , 0.3,-2 , 3 ,-2 , 60), nrow=3,byrow=T)
rownames(covar1)<-colnames(covar1)<-c("endo","exo","med")
path1<-matrix(c(? ? "exo -> endo",? "g1", NA,
2009 Mar 04
1
Descriptive stats for factors in SEM
I feel really dumb for having to ask this, but here I go anyway...
I perform structural equation modeling on a survey, using about 25
variables that create a total of 5 latent variables (factors).
Applying sem (using the sem package) was a piece of cake, even for an
(SEM) layman, thanks for THE excellent work here. I have all the
variable/path coefficients, A- and P-matrix etc. But now I am
2012 Mar 23
0
Fixing error variance in a path analysis to model measurement error in scales using sem package
Hi!
I want to construct a path analysis model that can account for measurement
error in totally aggregated parcels, which refer to parcels where all of
the items in a scale are summed or averaged. If I am not mistaken, Bollen
(1989) advocates the following formula for computing the error variance of
each parcel:
(1−α(parcel))×variance(parcel),
such that α refers to Cronbach's alpha, which
2013 Mar 18
1
"save scores" from sem
I'm not aware of any routine that those the job, although I think that
it could be relatively easily done by multiplication the manifest
variable vector with the estimates for the specific effect.
To make an example:
v1; v2; v3; v4 are manifest variables that loads on one y latent
variablein a data frame called "A"
the code for the model should be like:
model <-specifymodel(
y
2010 Jun 22
1
"save scores" from sem
Dear expeRts,
sorry for such a newbie question -
in PCA/factor analysis e.g. in SPSS it is possible to save scores from
the factors. Is it analogously possible to "save" the implied scores
from the latent variables in a measurement model or structural model
e.g. using the sem or lavaan packages, to use in further analyses?
Best wishes
Steve Powell
www.promente.org | skype
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
2008 Jul 27
2
Link functions in SEM
Is it possible to fit a structural equation model with link functions in R? I
am trying to build a logistic-regression-like model in sem, because
incorporating the dichotomous variables linearly seems inappropriate. Mplus
can do something similar by specifying a 'link' parameter, but I would like
to be able to do it in R, ofcourse.
I have explored the 'sem' package from John Fox,
2011 Nov 07
0
new version 2.0-0 of the sem package
Dear R users,
Jarrett Byrnes and I would like to announce version 2.0-0 of the sem package
for fitting observed- and latent-variable structural equation models. This
is a general reworking of the original sem package (which is still available
on R-Forge as package sem1).
Some highlights of sem 2.0-0 include:
o More convenient and compact model specification, including the default
automatic
2011 Nov 07
0
new version 2.0-0 of the sem package
Dear R users,
Jarrett Byrnes and I would like to announce version 2.0-0 of the sem package
for fitting observed- and latent-variable structural equation models. This
is a general reworking of the original sem package (which is still available
on R-Forge as package sem1).
Some highlights of sem 2.0-0 include:
o More convenient and compact model specification, including the default
automatic
2009 Mar 30
2
HELP WITH SEM LIBRARY AND WITH THE MODEL'S SPECIFICATION
Dear users,
i'm using the sem package in R, because i need to improve a confermative factor analisys.
I have so many questions in my survey, and i suppose, for example, that Question 1 (Q1) Q2 and Q3 explain the same thing (factor F1), Q4,Q5 and Q6 explain F2 and Q7 and Q8 explain F3...
For check that what i supposed is true, i run this code to see if the values of loadings are big or not.
2009 Aug 11
0
SEM decomposition of Hessian
I'm trying to run an SEM, but I keep getting the following error message.
In sem.default(ram = ram, S = S, N = N, param.names = pars, var.names = vars, :
Could not compute QR decomposition of Hessian.
Optimization probably did not converge.
I have 4 latent variables (plant, AMF, abiotic, and soilAgg) with 2 or 4 indicator variables for each latent variable.My model is specified as:
>
2007 Apr 09
3
sem vs. LISREL: sem fails
I am new to R.
I just tried to recreate in R (using sem package and the identical input data) a solution for a simple measurment model I have found before in LISREL. LISREL had no problems and converged in just 3 iterations.
In sem, I got no solution, just the warning message:
"Could not compute QR decomposition of Hessian.
Optimization probably did not converge.
in: sem.default(ram =
2010 Sep 16
0
problems trying to reproduce structural equation model using the sem package
Hello,
I've been unsuccessfully trying to reproduce a sem from Grace et al.
(2010) published in Ecological Monographs:
http://www.esajournals.org/doi/pdf/10.1890/09-0464.1
The model in question is presented in Figure 8, page 81. The errors
that I've been getting are:
1. Using a correlation matrix:
res.grace <- sem(grace.model, S = grace, N = 190)
Warning message:
In sem.default(ram
2002 Oct 08
2
sem (lisrel) - starting problems
Hi,
(1.)
How is it possible to get automatic a "lower triangle of correlation matrix" ?
h.cor <- cor(dat,use="pairwise.complete.obs")
zz <- lower.tri(h.cor,diag=T)
### that's not what i wish and "wrong" ?
results <- matrix(unlist(h.cor[upper.tri(h.cor,diag=T)]))
results <- matrix(unlist(h.cor[upper.tri(h.cor,diag=T)]),5)
Must i take the lowest
2009 Jul 29
1
Similar package like SEM
Hello,
is there a similar package like SEM. In fact, I am looking for a package where I as input several given vector variables which are part of an autoregressive model.
Then I would like to obtan parameters for so called latent variables.
Thank you,
Luba
[[alternative HTML version deleted]]
2011 Nov 08
1
Help with SEM package: Error message
Hello.
I started using the sem package in R and after a lot of searching and trying
things I am still having difficulty. I get the following error message when
I use the sem() function:
Warning message:
In sem.default(ram = ram, S = S, N = N, param.names = pars, var.names =
vars, :
Could not compute QR decomposition of Hessian.
Optimization probably did not converge.
I started with a