Presentation is loading. Please wait.

Presentation is loading. Please wait.

Type=Corr SAS.

Similar presentations


Presentation on theme: "Type=Corr SAS."— Presentation transcript:

1 Type=Corr SAS

2 Creating a Type=Corr Data Set From an Existing Raw Data File
PROC CORR NOMISS DATA=KLW OUTP=GRADES; VAR CLASSWRK MIDTERM FINAL_EX; PROC PRINT;

3 The Output OBS _TYPE_ _NAME_ CLASSWRK MIDTERM FINAL_EX
MEAN STD N CORR CLASSWRK CORR MIDTERM CORR FINAL_EX

4 You Have Somebody’s Corr Matrix but not their Raw Data
DATA SOL(TYPE=CORR); LENGTH _NAME_ $ 11; *Specify the length of the longest variable name, in this case, misanthropy, 11; INPUT _TYPE_ $ _NAME_ $ idealism relativism misanthropy gender attitude; CARDS; corr idealism corr relativism corr misanthropy corr gender corr attitude N mean std ; *Note the use of a period for missing value for _NAME_ on row of _TYPE_ N, mean, and std.; PROC REG; MODEL attitude = idealism -- gender / STB SCORR2; run; You Have Somebody’s Corr Matrix but not their Raw Data

5 SPSS Yes, SPSS will do this too.
See


Download ppt "Type=Corr SAS."

Similar presentations


Ads by Google