OpenSEM Forums

Posted on
No user picture. JuanJMV Joined: 07/20/2016

Common and independent models

Hello,

I am trying to fit a trivariate model with 3 continuous variables. I am also trying to fit the independent and common pathways models but I do not know if my script is correct.

My models have:
ADE: 27 parameters
Independent pathway model: 27 parameters
Common pathway model: 24 parameters

I think that number of parameters is correct but I am not sure. Also, I have negative values (for example dl_1_1, fl_2_1) and I do not know if it is correct.

Posted on
No user picture. mediation Joined: 05/30/2018

Multilevel 3-2-1 Mediation Model

Hi,

I am new in OpenMx.
Can OpenMx handle a 3-2-1 mediation model? Do you have any example codes for this?

Claire

Posted on
No user picture. Kelsey Joined: 01/31/2017

Bivariate model with binary and continuous variable

Hi,
I am new to bivariate models and I have tried to adapt the twoACEj.R script by Hermine Maes from an ordinal to a binary variable in the below script. The script runs without errors, but my first question is whether my adaptations are correct?

Posted on
No user picture. JuanJMV Joined: 07/20/2016

phenotypic correlation

Hello,

I am a little bit confused about how to calculate the phenotypic correlation between variable 1 and variable 2, in a bivariate model with one binary variable and one continuous variable.

I mean if I use this: mxEval(cov2cor(V), fitADE, T). I get a value of 0.200 whereas if I calculate the correlation in SPSS (also in R) I get a value of 0.150.

I do not know if I am doing something wrong. Should the results be the same right?
I have tried with different methods, with and without covariables etc… But I get the same value.

Posted on
Picture of user. Julia Joined: 03/29/2012

System is exactly singular

Hi all,

I am running a trivariate Cholesky ADE model with one binary and two continuous variables. As profile-based confidence intervals took more than 24h to run and a lot of them were missing I decided to try bootstrapping. I ran mxBootstrap with 1000 replicates to get 95% CI and all looked fine except CI's for dominant genetic correlation rD. I get the following error:

Posted on
No user picture. ethibodeau Joined: 05/16/2018

multiple group LGM when one group has incomplete wave structure

I'm interested in running a multiple group latent growth model to test for invariance in growth parameters across two groups, by constraining particular parameters to be equal across groups (vs freely estimating) and doing LL chi-square model comparisons.

Posted on
No user picture. Veronica_echo Joined: 02/23/2018

Need help to fit a piecewise latent growth curve with time-invariant covariates

Hi everyone,

I am trying to fit a PLGC model with TICs, but it reported errors. I am attaching data and codes I used for the model. I set the initial values as the estimations from Mplus8 (script is also attached, need to change to .inp). Any advice would be appreciated.

--solved, thanks

Posted on
No user picture. JuanJMV Joined: 07/20/2016

Siblings

Hello,

I am trying to do a univariate analysis with a binary variable. I am not sure how to treat siblings
I have created different groups MZ, DZ, SIB (which I think is the same as introduce SIB in the DZ group).

I have also checked if DZ and SIB can be equated through the saturated model and there are not significant differences when I equated means and variances between DZ and Sib

Posted on
No user picture. szellers Joined: 04/04/2018

Standardizing factor loadings

I am working with a common path model and I am having difficulty standardizing my factor loadings. In the past, I have identified the model by constraining the variance of the latent phenotype to 1, then I standardize factor loadings by using a matrix of standard deviations (SDs on diagonal, 0s on off-diagonal) and multiplying that by the matrix of the unstandardized factor loadings (I can attach code for this if necessary)