OpenMx General Help

* and %x% operators in mxAlgebra
> model2 <- mxModel(model1, mxAlgebra(.5*CTf, name="CTDZf"))
> model2 <- mxRun(model2)
Running SameMZDZf
Error in runHelper(model, frontendStart, intervals, silent, suppressWarnings, :
BLAS/LAPACK routine 'DPOTRF' gave error code -4
> model2 <- mxModel(model1, mxAlgebra(.5 %x% CTf, name="CTDZf"))
> model2 <- mxRun(model2)
Running SameMZDZf
Warning message:
In model 'SameMZDZf' NPSOL returned a non-zero status code 1. blah blah ...
yet
> mat <- matrix(rnorm(16), 4)
> .5 * mat == .5 %x% mat
[,1] [,2] [,3] [,4]
[1,] TRUE TRUE TRUE TRUE
- Read more about * and %x% operators in mxAlgebra
- 3 comments
- Log in or register to post comments

Where can I download the source codes.
- Read more about Where can I download the source codes.
- 1 comment
- Log in or register to post comments

Appending mxAlgebra expressions
I am trying to generate mxAlgebra expressions from a size variable. I have a variable amount of mx submodels and am trying to add the objectives from these together for a full model objective. I have tried things like
mxAlgebra(sum(get(paste("submodel",1:x,".objective",sep=""))),
name="TotObj")
and other various methods. I also tried the method described on
http://openmx.psyc.virginia.edu/thread/537
but don't think this will help in my particular situation.
Any suggestions?
Best,
-LLL
- Read more about Appending mxAlgebra expressions
- 2 comments
- Log in or register to post comments

How do I add a demo script to an OpenMx directory?
I woulld like to share a demo script to the following directory:
http://openmx.psyc.virginia.edu/repoview/1/trunk/demo
The Wiki says where to put the file, but not technically how to add the file to the directory.
Any help?

@submodels slot
MZf <- mxModel(name="MZf", mxData(ObsCovMZf, type="cov", numObs=nMZf),
mxMLObjective(covariance='myModel.PreCovMZf'))
DZf <- mxModel(name="DZf", mxData(ObsCovDZf, type="cov", numObs=nDZf),
mxMLObjective(covariance='myModel.PreCovDZf'))
myModel1 <- mxModel(name="myModel", MZf, DZf)
myModel1
then run and compare:
MZf <- mxModel(name="MZf", mxData(ObsCovMZf, type="cov", numObs=nMZf),
mxMLObjective(covariance='myModel.PreCovMZf'))
DZf <- mxModel(name="DZf", mxData(ObsCovDZf, type="cov", numObs=nDZf),
- Read more about @submodels slot
- 2 comments
- Log in or register to post comments

remove = TRUE issue
VA <- mxMatrix(name="VA", type="Symm", nrow=5, ncol=5)
DZ <- mxAlgebra(.5 %x% VA, name="covDZA")
test <- mxModel(model="test", VA, DZ )
test
names(test)
rm1 <- mxModel(test, test@matrices$VA, remove=TRUE)
rm2 <- mxModel(test, test@algebras$covDZA, remove=TRUE)
rm3 <- mxModel(test, test@algebras$DZ, remove=TRUE)
why doesn't remove=TRUE work with rm1 and rm2 while it fails to throw an error or warning with rm3?
- Read more about remove = TRUE issue
- 3 comments
- Log in or register to post comments

MxModel@intervals
Error: no slot of name "intervals" for this object of class "MxModel"
if i create a new MxModel, it shows a slot for intervals of type list. but i cannot find documentation for this slot in http://openmx.psyc.virginia.edu/docs/OpenMx/latest/_static/Rdoc/MxModel-class.html (or in the doc for mxModel either).
any help?
best,
greg
- Read more about MxModel@intervals
- 2 comments
- Log in or register to post comments

quiet failure without error message
How can I troubleshoot when there is no eror message?
------------------------------------------------------------------------------------
> summary(FactorConfigFIout)
data:
$`Moderated FI Model.data`
- Read more about quiet failure without error message
- 2 comments
- Log in or register to post comments

precision of integration
Thanks, Hermine.
- Read more about precision of integration
- 3 comments
- Log in or register to post comments

Set probability precision
Is there a way to set the precision of the reported p values to more than 2 decimal places. It might be something simple, but I can't find it in the documentation.
Thanks,
Paul
- Read more about Set probability precision
- 5 comments
- Log in or register to post comments
Pagination
- Previous page
- Page 17
- Next page