! J2. Genetic Simplex Model
! Swedisch Weight Data

G1: genetic structure
Data Calc NGroups=4
Matrices
A Diag 6 6 Free   ! specific genetic factors
G Lower 6 6       ! genetic transmission paths
I Iden 6 6
Compute (I-G)~ *(A*A') *((I-G)~)' /
Specify G
0
7 0
0 8 0
0 0 9 0
0 0 0 10 0
0 0 0 0 11 0
End

G2: specific environmental structure
Data Calc 
Matrices
E Diag 6 6 Free   ! specific environmental specifics
F Lower 6 6       ! specific environmental transmission paths
I Iden 6 6
Compute (I-F)~ *(E*E') *((I-F)~)' /
Specify F
0
18 0
0 19 0
0 0 20 0
0 0 0 21 0
0 0 0 0 22 0
End

G3: young female MZ twin pairs
Data NInput_vars=12 NObservations=32
Labels
wt1_1 wt1_2 wt1_3 wt1_4 wt1_5 wt1_6
wt2_1 wt2_2 wt2_3 wt2_4 wt2_5 wt2_6
CMatrix Symmetric
30.347
33.096 37.443
33.993 38.210 42.319
34.778 39.356 44.020 47.606
34.703 39.403 44.038 48.239 50.931
33.202 37.419 41.574 45.373 47.971 48.154
33.469 36.124 36.005 36.979 38.484 37.885 44.188
35.551 39.813 39.439 41.009 42.988 41.554 45.593 49.280
37.010 40.972 42.773 44.962 46.657 45.031 46.284 49.359 52.083
38.504 42.658 45.377 48.841 50.994 49.015 47.113 50.631 54.266 58.924
38.829 42.866 46.065 49.803 53.449 51.444 48.183 51.669 55.154 59.748 63.154
38.266 42.058 44.320 47.550 50.958 51.082 48.319 51.284 53.965 57.913 61.290 62.310
Matrices
A Symm 6 6 = %E1
E Symm 6 6 = %E2
Covariances A+E | A _
            A   | A+E /
End 

G6: young female DZ twin pairs
Data NInput_vars=12 NObservations=51
Labels
wt1_1 wt1_2 wt1_3 wt1_4 wt1_5 wt1_6
wt2_1 wt2_2 wt2_3 wt2_4 wt2_5 wt2_6
CMatrix Symmetric
28.873
29.423 31.546
31.087 33.341 38.996
30.395 32.557 37.267 38.366
30.987 32.649 37.896 38.620 41.418
29.880 31.727 36.752 37.826 40.317 42.379
16.157 15.524 16.402 16.393 16.040 16.231 20.032
16.319 15.992 16.393 16.431 15.513 15.809 20.140 21.577
15.946 15.356 16.315 15.873 15.253 15.175 21.600 22.822 26.738
16.367 15.565 16.465 17.038 15.913 14.977 21.730 23.331 26.453 28.948
15.763 14.633 16.289 15.970 16.144 14.905 21.520 22.878 26.361 27.891 30.103
13.692 12.443 13.782 13.592 13.583 12.886 20.940 22.117 25.784 27.361 29.373 31.204
Matrices
A Symm 6 6 = %E1
E Symm 6 6 = %E2
H Full 1 1
Covariances A+E | H@A _
            H@A | A+E /
Matrix H .5
Start 4 All
Start .4 G 1 1 1 - G 1 6 6   F 2 1 1 - F 2 6 6
Options NDecimals=4
End
