1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
55
56 /**************************** Babydouble.sas ****************************/
57 title 'Simple double measurement with proc calis';
58 title2 'Jerry Brunner: Student Number 999999999';
59
60 data baby;
61 infile '/folders/myfolders/431s17/Babydouble.data.txt'
62 firstobs=2;
63 input id W1 W2 Y;
64
65
NOTE: The infile '/folders/myfolders/431s17/Babydouble.data.txt' is:
Filename=/folders/myfolders/431s17/Babydouble.data.txt,
Owner Name=root,Group Name=vboxsf,
Access Permission=-rwxrwx---,
Last Modified=18Feb2015:15:00:54,
File Size (bytes)=3926
NOTE: 150 records were read from the infile '/folders/myfolders/431s17/Babydouble.data.txt'.
The minimum record length was 24.
The maximum record length was 24.
NOTE: The data set WORK.BABY has 150 observations and 4 variables.
NOTE: DATA statement used (Total process time):
real time 0.01 seconds
cpu time 0.02 seconds
66 proc calis pcorr vardef=n nostand;
67 /* See reproduced covariance matrix,
68 Use true MLEs and get exact G^2, No standardized results */
69 title3 'Fit the centered model';
70 var W1 W2 Y; /* Declare observed variables */
71 lineqs /* Model equations, separated by commas. */
72 Y = beta1*F + epsilon,
73 W1 = F + e1,
74 W2 = F + e2;
75 variance /* Declare variance parameters. */
76 F = phi, epsilon = psi, e1=omega1, e2=omega2;
77
78
79
80 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
92