You are here

Testing for heterogeneity of total variances of MZ and DZ pairs

2 posts / 0 new
Last post
olleee's picture
Offline
Joined: 07/28/2016 - 16:42
Testing for heterogeneity of total variances of MZ and DZ pairs

I'm analyzing data from a twin study and wondered if OpenMx can test for the assumption that total variances of MZ and DZ pairs are not significantly different. Any suggestion on how to perform this test would be much appreciated!

AdminRobK's picture
Offline
Joined: 01/24/2014 - 12:15
The long and short of it is

The long and short of it is that you would fit a model to your data in which the phenotypic variances for MZ and DZ twins are two different free parameters, and then fit another in which the phenotypic variance is the same free parameter for both groups. The change in -2logL between the two models is a likelihood-ratio test statistic, asymptotically distributed as chi-square on one degree of freedom.

I'm attaching a script from the 2016 Boulder Workshop. You'll need to adapt it to your purposes, but hopefully it's enough to get you started.

File attachments: