Categorical Outcomes

Difficulties running Ordinal Twin Model
In the process of learning a bit more about how OpenMX works and getting up to speed on twin study methodology, I have been running some of the presentation scripts from the Boulder conference's intro seminar. I'm having a bit of a problem with one of the scripts for binary outcome twin models and was hoping that someone recognized the issue. The script I am using is here: http://ibg.colorado.edu/cdrom2010/rijsdijk/OrdinalTwinAnalysis/Binary/UnivACE_MatrRawOrd.R
- Read more about Difficulties running Ordinal Twin Model
- 3 comments
- Log in or register to post comments

Ordinal ACE model script is crashing R
I'm trying to get an ordinal ACE model working but it keeps crashing R.
I'm using OpenMx .5 R 2.10.1 under Windows 7 64 bit
Any suggestions would be greatly appreciated
thanks
s
- Read more about Ordinal ACE model script is crashing R
- 17 comments
- Log in or register to post comments

Constraint on variance of ordinal variables
Why is the mxConstraint command not working anymore?
How else is one to constrain the variances to unity?
Thanks.
Fruhling
# Algebra to compute total variances and standard deviations (diagonal only)
mxAlgebra( expression=A+C+E, name="V" ),
mxMatrix( type="Iden", nrow=nv, ncol=nv, name="I"),
mxAlgebra( expression=solve(sqrt(I*V)), name="sd"),
# Constraint on variance of ordinal variables
mxConstraint( alg1="V", "=", alg2="I", name="Var1"),
Error in mxConstraint(alg1 = "V", "=", alg2 = "I", name = "Var1") :
- Read more about Constraint on variance of ordinal variables
- 5 comments
- Log in or register to post comments

mxFactor() interface
nthresh1 <- 1
nthresh2 <- 12
data <- read.table("data/mddndzf.dat", na.string=".",
col.names=c("t1neur1", "t1mddd4l", "t2neur1", "t2mddd4l"))
data[,c(1,3)] <- mxFactor(data[,c(1,3)], c(0 : nthresh2))
data[,c(2,4)] <- mxFactor(data[,c(2,4)], c(0 : nthresh1))
- Read more about mxFactor() interface
- Log in or register to post comments

Ordinal Outcomes in Heterogeneity Models
I'm trying to modify a script for a heterogeneity twin model with continuous data in order to fit my ordinal outcome variable. I think I need to make the following changes:
1. Matrices and algebra statements for the expected threshholds for each of my groups
2. Incorporating a threshold statement into my mxModels for each of my groups.
- Read more about Ordinal Outcomes in Heterogeneity Models
- 3 comments
- Log in or register to post comments

getting started
require(OpenMx)
data(demoOneFactor)
manifests <- names(demoOneFactor)
latents <- c("G")
factorModel <- mxModel("One Factor",
type="RAM",
manifestVars=manifests,
latentVars=latents,
mxPath(from=latents, to=manifests),
mxPath(from=manifests, arrows=2),
mxPath(from=latents, arrows=2, free=F, values=1.0),
- Read more about getting started
- 8 comments
- Log in or register to post comments
Pagination
- Previous page
- Page 5