File: bivHom.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 (64 lines) | stat: -rw-r--r-- 924 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
53
54
55
56
57
58
59
60
61
62
63
64
!----------------------------------------------------------
!Homogeneity Model
#NGroups 5

G1
 Calculation
 Begin Matrices;
  L Lower 2 2 Free
  M Full 1 2 Free
 End Matrices;
  Matrix L 1 .2 1
  Matrix M 0 0
 Begin Algebra;
  X=L*L';
 End Algebra;
End

G2
 Data NInputvars=2
 Rectangular File= xy1.rec
 Begin Matrices;  = Group 1
 Means M;
 Covariances X;
 Option RS
 Option MxM=EM1Hom.mxm
 Option MxX=EC1Hom.mxm
End

G3
 Calculation
 Begin Matrices;
  L Lower 2 2 =L1
  M Full 1 2 =M1
 End Matrices;
  Matrix L 1 .2 1
  Matrix M 0 0
 Begin Algebra;
  X=L*L';
 End Algebra;
End

G4
 Data NInputvars=2
 Rectangular File= xy2.rec
 Begin Matrices;  = Group 3
 Means M;
 Covariances X;
 Option RS
 Option MxM=EM2Hom.mxm
 Option MxX=EC2Hom.mxm
End

G5
 Calculation
 Begin Matrices;
  A Full 1 1 =%F2
  B Full 1 1 =%F4
 End Matrices;
 Begin Algebra;
  F= A+B;
 End Algebra;
 Option MxF=LLHom.mxm
 Option Format=(8(1x,F13.7))
End