The data is defined directly in the script (Datalines) as a correlation matrix (TYPE=CORR) named 'Kinzer'.
1 Code Block
DATA STEP Data
Explanation : Creation of a 'CORR' type dataset (correlation matrix) containing variables var1 to var6, with 326 assumed observations (used later via NOBS).
Title "Data Matrix of Kinzer & Kinzer, see GUTTMAN (1957)";
3
_TYPE_ = 'CORR'; INPUT _NAME_ $ var1-var6;
4
DATALINES;
5
var1 1.00 . . . . .
6
var2 .511.00 . . . .
7
var3 .46 .511.00 . . .
8
var4 .46 .47 .541.00 . .
9
var5 .40 .39 .49 .571.00 .
10
var6 .33 .39 .47 .45 .561.00
11
;
2 Code Block
PROC CALIS
Explanation : Execution of PROC CALIS for model fitting. The COSAN statement defines the covariance structure. Matrices B, Psi, and D are explicitly defined. LINCON imposes ordinal constraints on the coefficients of matrix B. The 'psi' calculations ensure that the diagonal of the correlation matrix remains equal to 1.
This material is provided "as is" by We Are Cas. There are no warranties, expressed or implied, as to merchantability or fitness for a particular purpose regarding the materials or code contained herein. We Are Cas is not responsible for errors in this material as it now exists or will exist, nor does We Are Cas provide technical support for it.
SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration. WeAreCAS is an independent community site and is not affiliated with SAS Institute Inc.
This site uses technical and analytical cookies to improve your experience.
Read more.