Displaying 20 results from an estimated 200 matches similar to: "Fit indexes in SEM with categorical data + ML estimation"
2009 Jan 12
3
polychoric correlation: issue with coefficient sign
Hello,
I am running polychoric correlations on a dataset composed of 12 ordinal and
binary variables (N =384), using the polycor package.
One of the association (between 2 dichotomous variables) is very high using
the 2-step estimate (0.933 when polychoric run only between the two
variables; but 0.801 when polychoric run on the 12 variables). The same
correlation run with ML estimate returns a
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
2007 Jun 27
1
SEM model fit
I wonder if someone could explain why, when I perform confirmatory
factor-analysis model using polychoric correlations why I do not get an
estimated confidence interval for the RMSEA. My experience with these type
models is that I would obtain a confidence interval estimate. I did not get
any warning messages with the output.
RESULTS:
Model Chisquare = 1374 Df = 185 Pr(>Chisq) = 0
2001 Sep 09
2
scp bug with 0x0a in filename:
This bug (Debian bug number 111692) occurs with filenames that have the
character 0x0a in them (newline).
This is how one repeats it:
ming.empire.pick.ucam.org:~/ssh-test/ # [01/09/10.00:15:50] $
: bash[592] ; cat > 'x
x'
This is a test.
ming.empire.pick.ucam.org:~/ssh-test/ # [01/09/10.00:16:17] $
: bash[593] ; scp 'x
x' dorothee:ssh-test/
2009 Mar 09
2
path analysis (misspecification?)
hi,
I have following data and code;
cov <-
c
(1.670028
,-1.197685
,-2.931445,-1.197685,1.765646,3.883839,-2.931445,3.883839,12.050816)
cov.matrix <- matrix(cov, 3, 3, dimnames=list(c("y1","x1","x2"),
c("y1","x1","x2")))
path.model <- specify.model()
x1 -> y1, x1-y1
x2 <-> x1, x2-x1
x2 <->
2007 Mar 07
1
No fit statistics for some models using sem
Hi,
New to both R and SEM, so this may be a very simple question. I am
trying to run a very simple path analysis using the sem package.
There are 2 exogenous (FARSCH, LOCUS10) and 2 endogenous (T_ATTENT,
RMTEST) observed variables in the model. The idea is that T_ATTENT
mediates the effect of FARSCH and LOCUS10 on RMTEST. The RAM
specification I used is
FARSCH -> T_ATTENT, y1x1, NA
2012 Aug 20
1
Combining imputed datasets for analysis using Factor Analysis
Dear R users and developers,
I have a dataset containing 34 variables measured in a survey, which has
some missing items. I would like to conduct a factor analysis of this
data. I tested mi, Amelia, and MissForest as alternative packages in
order to impute the missing data. I now have 5 separate datasets with
the variables I am interested in factor analysing. In my reading of the
package
2004 Jul 13
5
Help with factanal and missing values
Hi list,
I'm performing a series of confirmatory factor analysis on different
groupings of items from data collected with questionnaires. There are some
missing values.
For those sets with no missing values I call
factanal(datamatrix,factors=n)
where datamatrix is a table of all observations for the items under
investigation.
This call fails when there are missing values.
help(factanal)
2009 May 27
1
Multivariate Transformations
Hello folks,
many multivariate anayses (e.g., structural equation modeling) require
multivariate normal distributions.
Real data, however, most often significantly depart from the multinormal
distribution. Some researchers (e.g., Yuan et al., 2000) have proposed a
multivariate transformation of the variables.
Can you tell me, if and how such a transformation can be handeled in R?
Thanks in
2006 Aug 22
1
Total (un)standardized effects in SEM?
Hi there,
as a student sociology, I'm starting to learn about SEM. The course I
follow is based on LISREL, but I want to use the SEM-package on R
parallel to it.
Using LISREL, I found it to be very usable to be able to see the
total direct and total indirect effects (standardized and
unstandardized) in the output. Can I create these effects using R? I
know how to calculate them
2006 Aug 16
1
Specifying Path Model in SEM for CFA
I'm using specify.model for the sem package. I can't figure out how to
represent the residual errors for the observed variables for a CFA
model. (Once I get this working I need to add some further constraints.)
Here is what I've tried:
model.sa <- specify.model()
F1 -> X1,l11, NA
F1 -> X2,l21, NA
F1 -> X3,l31, NA
F1 -> X4,l41, NA
F1 -> X5, NA, 0.20
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
2008 Dec 22
1
sem package fails when no of factors increase from 3 to 4
#### I checked through every 3 factor * 3 loading case.
#### While, 4 factor * 3 loading failed.
#### the data is 6 factor * 3 loading
require(sem);
cor18<-read.moments();
1
.68 1
.60 .58 1
.01 .10 .07 1
.12 .04 .06 .29 1
.06 .06 .01 .35 .24 1
.09 .13 .10 .05 .03 .07 1
.04 .08 .16 .10 .12 .06 .25 1
.06 .09 .02 .02 .09 .16 .29 .36 1
.23 .26 .19 .05 .04 .04 .08 .09 .09 1
.11 .13 .12 .03 .05 .03
[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 Jan 02
1
Clusteranalysis Chi-square test and SingleLinkage
Hi
The short version of my questions is this:
How can I run a chi-square test over a matrix (table) to get the distanaces
between rows and then run a SingleLinkage (or other fusion algorithm over
the resulting table?
------------
The long-version of my question:
My data consists of different data of different countries so I have stuff
like how many people can read, write in X,Y,Z countries
2007 Dec 19
1
Correlation when one variable has zero variance (polychoric?)
Hi,
I'm running this for a simulation study, so many combinations of parameter
produce many predictions that I need to correlate with data.
The problem
----------------
I'm using rating data with 3 to 5 categories (e.g., too low, correct, too
high). The underlying continuous scales should be normal, so I chose the
polychoric correlation. I'm using library(polychor) in its
2004 Nov 28
2
Tetrachoric and polychoric ceofficients (for sem) - any tips?
About two years ago there was a thread about this which suggested that at
that time nobody had these coefficients ready to go.
(a) has anyone in the meanwhile programmed them?
(b) I think I can see how to do the tetrachoric one with mvtnorm on similar
lines to an example on the help page so will try that if nobody else
already has
(c) looking at the polychoric one makes me realise yet again
2018 Apr 27
1
Question about "generic" USB <=> Serial Port kernel drivers...
OK, I am running CentOS 6 on my Laptop and Desktop, presently kernel version
2.6.32-696.20.1.el6.x86_64 (yes, a version or so out of date -- I'll probably
do an update soon -- non-trivial since my Internet connection is via dialup).
I recently bought a couple of Adafruit Arduino compatibles, a Flora and a
Metro 328. Hooking up the Flora and the Metro to a Raspberry Pi running
Raspbian
2012 Dec 07
1
Polychor() - why does it take that long?
Hello.
Using the polychor function
> polychor(data[c(s1,s2)] )
for polychoric correlations of two ordinal variables in R takes a long time
for N=7000 (20 minutes+) and significantly slows down my computer.
Now, I have a pretty old computer, but it takes about 20 seconds for MPLUS
to print out the complete polychoric correlation matrix for all 16
variables, while I am running the R function