File: acemix2.mx

package info (click to toggle)
r-cran-openmx 2.21.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 14,412 kB
  • sloc: cpp: 36,577; ansic: 13,811; fortran: 2,001; sh: 1,440; python: 350; perl: 21; makefile: 5
file content (52 lines) | stat: -rw-r--r-- 784 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
! Mixture distribution model for MZ & DZ misclassification

G1: Model parameters
Data Calc NGroups=2
Begin Matrices;
I Unit 1 1
H Full 1 1
Q Full 1 1
M Full 1 1 Free
X Lower 1 1 Free
Y Lower 1 1 Free
Z Lower 1 1 Free
W Lower 1 1 
End Matrices;
! parameters are fixed by default, unless declared free
Matrix H .5
Matrix Q .25
Start .6 All

Begin Algebra;
A= X*X';
C= Y*Y';
E= Z*Z';
D= W*W';
N=M|M_M|M;
End Algebra:
End

G2: All twin pairs
Data NInput_vars=3 Nmodel=2
Labels t1 t2 pmz
Rectangular File=sim1.mz
Select t1 t2 pmz ;
Definition pmz ;

Matrices= Group 1
P Full 1 1
End Matrices;

Specify P pmz

Means N;
Covariances A+C+D+E | A+C+D _
            A+C+D   | A+C+D+E _
            A+C+D+E   | H@A+C+Q@D _
            H@A+C+Q@D | A+C+D+E ;
Weights P_I-P;
Options RSidual
End