OpenMx Help
phurd
Joined: 10/19/2012
Fedora 17 and libnpsol
Hi, I'm trying to install on a Fedora 17 system, it fails with:
checking for inst/npsol/linux/x86/gcc4.7/libnpsol.a... no
configure: error: npsol library not found
I've installed successfully on ubuntu 12.04 (which has gcc v 4.6).
Is would it work to copy over the library, or does this really need to be recompiled?
- Read more about Fedora 17 and libnpsol
- 3 comments
- Log in or register to post comments
Karin
Joined: 02/11/2011
Help with UnivariateTwinAnalysis_MatrixRawConACE.R
Sorry if this is a stupid question, but I have been having trouble getting to grips with OpenMx.
I have been using the sample script UnivariateTwinAnalysis_MatrixRawConACE.R. I would like to extend this in two ways:
* Print out a, c, and e (where appropriate) path variables and the standardized version of these for all models, (i.e. AE, CE, E not just ACE)
* Print out confidence intervals for ACE.A/ACE.V etc.
Can anybody help with this?
Thankyou
Karin
jjheath
Joined: 08/26/2012
Inflated disturbance estimate
I have a complex nonrecursive path model (i.e., only latent disturbance terms for endogenous manifests). It has several reciprocal paths and potential feedback loops. The model converges fine with no errors and the fit statistics all look great (X2 = 9.2, P = 0.24, CFI = 0.99, RMSEA = 0.033) and all the correlation residuals are less than 0.10. However, one of the disturbance estimates is slightly higher than the manifest variables actual variance (d = 1.699, s2 = 1.605), which creates a slightly negative R2 value for that endogenous variable.
- Read more about Inflated disturbance estimate
- 2 comments
- Log in or register to post comments
Julia
Joined: 03/29/2012
Exctract CI values
Hi.
Is it possible to extract values of upper and lower bounds of CI separately? Let's say I would like to estimate CI's for path estimates for males by introducing the following command:
ciVm = mxCI(c('am','cm','em'))
The only thing I am able to get is:
> QualACEFit@output$confidenceIntervals
lbound ubound
MZM.am[1,1] 6.128870 10.699917
MZM.cm[1,1] -7.901978 7.901978
MZM.em[1,1] 3.775610 5.115599
What I am interested in is to get, e.g., a value for the lower boud of CI for am. Is that feasible somehow?
- Read more about Exctract CI values
- 3 comments
- Log in or register to post comments
Rene Mayer
Joined: 09/17/2012
clustered/multilevel sampling
Dear all,
I have data from a survey, e.g, several Items answered by pupils within several schools. And further I want to confirm that there are 4 latent with assumed loadings on the Items (CFA assuming a normal distribution). Is it possible to analyze this multilevel structure (school/pupil) with OpenMx (some way to get a Mplus-like handling 'Type=complex cluster=school')?
Thanks in advance,
René
- Read more about clustered/multilevel sampling
- 2 comments
- Log in or register to post comments
Jean
Joined: 11/10/2009
Growth Mixture Model Error
First I ran this model using my own data, and met the error message:
Running Growth Mixture Model
Error in substituteOperators(as.list(retval), algebra@name) :
cannot allocate memory block of size 2.9 Gb
In addition: Warning message:
In substituteOperators(as.list(retval), algebra@name) :
restarting interrupted promise evaluation
So I just tried to run the example data and example R code "GrowthMixtureModel_PathRaw.R", but still the same error.
Anyone knows what happened here?
Thank you.
- Read more about Growth Mixture Model Error
- 2 comments
- Log in or register to post comments
MG
Joined: 10/29/2010
Multivariate AE model
HI,
I am using this script to run a multivariate-Cholesky AE model
multAEModel <- mxModel(choleskyACEFit, name="multAE",
mxModel(choleskyACEFit$ACE,
mxMatrix( type="Lower", nrow=nv, ncol=nv, free=F, values=0, name="c" ),
mxCI(c("ACE.sta","ACE.stc","ACE.ste")))
)
This is the error message I get:
Error: The following error occurred while evaluating the subexpression 'solve(sqrt(AE.I * AE.C))' during the evaluation of 'AE.Rc' in model 'univAE' : Lapack routine dgesv: system is exactly singular
- Read more about Multivariate AE model
- 4 comments
- Log in or register to post comments
sbremer
Joined: 11/08/2011
Estimation of RAM-model
Sorry for the beginner's question...
But please help me understand: When I specify a path like
mxPath(
from=latents, # names of latent variables
arrows=2,
connect='single',
free=T,
values=NA,
labels=('lab1','lab2','lab3')
)
and run a model (RAM) with this and other path for the indicators with mxRun(), are 'lab1', 'lab2', 'lab3' the estimates of variances of the latent variables or are they estimates of variances of the latent disturbance?
Thanks in advance!!
- Read more about Estimation of RAM-model
- 2 comments
- Log in or register to post comments
userzht
Joined: 02/19/2011
read data
Hello, I have a problem when reading the data, for example, when I type "data(mv.csv)", there always returns a warning message: data set 'mv.csv' not found. Even when I add the document path "data('/Users/Documents/mv.csv'), the data are also not be able to find. Actually, this problem is not all about OpenMx, it relates to the whole R system. But I can only think of here to ask this question. Sorry, I forgot to say my computer system, it is MAC OS X 10.8.
Your help would be appreciated.
Ting
- Read more about read data
- 6 comments
- Log in or register to post comments
psunthud
Joined: 02/14/2012
Finding likelihood-based confidence interval when a matrix contains definition variables
Hi everyone,
I have a problem running multilevel model using a SEM framework to get a likelihood-based CI of the effect size. I have two factors representing (random) intercept and (fixed) slope. I attach my data file here. Use the following code to get the dataset:
datawide <- read.csv("datawide.csv")
The dataset has been transformed into a wide format. Y is the response variable. X is the upper-level predictor. Z is the lower-level predictor without any centering. My target model is
L1: Y = B_0 + B_1 * Z + r
L2: B_0 = X + u
Pagination
- Previous page
- Page 30
- Next page