Displaying 20 results from an estimated 9000 matches similar to: "SEM validation: Cross-Validation vs. Bootstrapping"
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
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
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,
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 Mar 02
1
sem package and growth curves
I have been working through the book "Applied longitudinal data analysis: modeling change and event occurrence" by Judith D. Singer and John B. Willett. I have been working examples using SAS and also using it as an opportunity for learning to use R for statistical analysis.
I ran into some difficulties in chapter 8 which deals with using structural equation modeling. I have tried to
2009 Dec 26
5
Is SEM package of R suitable for sem analysis
Dears,
I'm a college student and In doing my statistics homework.
I use R with SEM package as my tool for sem analysis,
but my teacher told me AMOS is more suitable for such analysis.
Could someone help tell me whether it is true
that some commercial software is better accepted in academic fields?
Sorry if I should not post such topics here.
--
Best Regards,
Reeyarn T. Lee
Accounting
2012 Jul 12
1
easy way to fit saturated model in sem package?
Hi,
I am wondering if anyone knows of an easy way to fit a saturated model
using the sem package on raw data? Say the data were:
mtcars[, c("mpg", "hp", "wt")]
The model would estimate the three means (intercepts) of c("mpg",
"hp", "wt"). The variances of c("mpg", "hp", "wt"). The covariance
of mpg with
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
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",
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.
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 Mar 22
2
SEM PACKAGE
Dear all,
I would like to know if it is possible to estimate multi-group SEM by using R...
Thank you
_________________________________________________________________
¿Cuánto espacio necesitas para guardar tus emails? Con Hotmail tienes 5GB y puede ampliarse a más.
[[alternative HTML version deleted]]
2012 Mar 29
1
FIML in R
Does anyone know if someone is developing full-information maximum likelihood (FIML) estimation algorithms for basic regression functions, like glm()? I think that having FIML options for workhorse functions that typically use ML would give R an edge over other statistical software, given how well FIML performs in missing data situations compared to ML.
While my current level of programming
2010 Jul 13
1
MplusAutomation
R list-
i have begun using the "MplusAutomation" while piloting a large-scale simulation (~200,000 replications). since the package takes advantage of the DOS batch mode available in Mplus, each replication starts and activates a new instance of a command prompt window. this effectively locks me out of my computer for the duration of the simulation.
my question is this: can anyone
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
[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
2009 May 20
1
SEM:Standard error of std.coef estimates?
Hi,
I am currently working with the sem package in R, to create pathway
diagrams. Id like to use the standardized path coeffcients. To get these, I
use std.coef. However, using this yields only the standardized coefficients,
but does not give me the standard error. Does someone know how to get
std.coef to show the standard error of the standardized path coefficients as
well?
Thanks,
Bastiaan
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
2003 May 03
0
SEM bootstrapping
Has anyone created functions that apply bootstrapping to SEM models? I'm
guessing that's a fairly straightforward application of existing functions,
but would rather not reinvent the wheel. Coefficient p-values should be
straightforward, but I'm not sure what it would take to get bootstrapped
indicators like the Bollen-Stine p-value.
Peter
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