1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;NOTE: ODS statements in the SAS Studio environment may disable some output features.5657 /**************************** SATcalisReg.sas ****************************/58 title 'Open SAT Data: Fit a regression model with proc calis';59 title2 'Jerry Brunner: Student Number 999999999';6061 data PennState;62 infile '/folders/myfolders/431s17/openSAT.data.txt' firstobs=2;63 input id verbal math gpa; /* Skipping the header */6465 ods graphics off; /* Suppress regression plots */NOTE: The infile '/folders/myfolders/431s17/openSAT.data.txt' is:Filename=/folders/myfolders/431s17/openSAT.data.txt,Owner Name=root,Group Name=vboxsf,Access Permission=-rwxrwx---,Last Modified=06Jan2017:08:41:47,File Size (bytes)=3618NOTE: 200 records were read from the infile '/folders/myfolders/431s17/openSAT.data.txt'.The minimum record length was 16.The maximum record length was 16.NOTE: The data set WORK.PENNSTATE has 200 observations and 4 variables.NOTE: DATA statement used (Total process time):real time 0.01 secondscpu time 0.02 seconds66 proc reg;67 title3 'Proc reg for comparison';68 model gpa = verbal math;69NOTE: PROCEDURE REG used (Total process time):real time 0.07 secondscpu time 0.06 seconds70 proc calis vardef=n nostand; /* Use n in the denominator for pure MLEs71 Suppress standardized output */72 title3 'Surface regression with proc calis';73 var verbal math gpa; /* Declare observed variables */74 lineqs /* Give model equation(s) */75 gpa = beta0*Intercept + beta1*verbal + beta2*math + epsilon;76 variance /* Declare variance parameters */77 verbal = phi11,78 math = phi22,79 epsilon = sigmasq;80 cov /* Declare non-zero covariance parameters */81 verbal math = phi12;82 mean /* Declare non-zero mean parameters */83 verbal = mu1, math = mu2;84 run;NOTE: Convergence criterion (GCONV2=0) satisfied.NOTE: PROCEDURE CALIS used (Total process time):real time 0.25 secondscpu time 0.21 seconds85 /* The final run statement is not strictly necessary in SAS Studio. */868788 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;100