/* x2_4.sas */ /* Purpose: */ title1 'Example 2.4 (note: proc corr cannot analyse type=corr data=>artificial example)'; data a; input a b c; cards; 3 6 5 7 4 5 8 3 5 3 4 5 6 5 2 3 7 8 ; proc print data=a; title2 'List of data'; proc corr data=a; var a b c; title2 'Correlations and (individual) tests of if they are zero.'; proc corr data=a; partial a; var b c; title2 'Partial correlations and (individual) tests of if they are zero.'; run;