OpenMx Structural Equation Modeling
neale
Joined: 07/31/2009
Power calculations for structural equation models
So a question was on SEMNET the other day, as to whether there were any free SEM packages that do power calculations. In essence, OpenMx does, given a bit of help from the R package pwr. Basically, one would fit the true model to the data, fix one or more parameters to predetermined values (usually to zero) and refit the model. Suppose that the difference in the -2lnL fit functions (as might be obtained from two mxRun commands
sat<-mxRun(saturated)
and
sub <-mxRun(submodel)
then the difference in the fit of these two models would be:
klang
Joined: 08/23/2009
Inflated degrees of freedom
When I run the following model, the program is telling me that I have 7405 degrees of freedom when there should only be around 370. I'm just wondering if anyone can offer any insight into what could be causing this discrepancy? Here's the code I'm running:
MissDataSim2 <- read.table("F:/Kyle/Research/OpenMx/Data/Kyle.MissDataSim2.txt", header = TRUE)
library(OpenMx)
MissDataModel3<-mxModel("Missing Data Simulation Structural Model with Phantom Constructs",
type="RAM",
mxData(MissDataSim2,
type="raw"
),
- Read more about Inflated degrees of freedom
- 6 comments
- Log in or register to post comments
klang
Joined: 08/23/2009
Constraining Lambda Loadings
Hi All,
- Read more about Constraining Lambda Loadings
- 1 comment
- Log in or register to post comments
Steve
Joined: 07/30/2009
Welcome to the OpenMx SEM modeling forum.
This forum is designed for discussions about how to create and fit SEM models with OpenMx. This forum is designed to be about the nuts and bolts of how to use OpenMx rather than a general purpose SEM modeling forum. For questions about the models themselves, rather than how to implement them in OpenMx, please see the OpenSEM forums where models are split by many different types.
- Read more about Welcome to the OpenMx SEM modeling forum.
- 9 comments
- Log in or register to post comments
Pagination
- Previous page
- Page 12