Hello @marelizgrav ,
It seems all your measurements are 0 for canonical variable 2.
Missing would be OK for me, but 0 is indeed weird.
Here's the number of canonical variables computed by SAS PROC CANDISC.
<<
NCAN=n
specifies the number of canonical variables to be computed. The value of n must be less than or equal to the number of variables. If you specify NCAN=0, the procedure displays the canonical correlations but not the canonical coefficients, structures, or means. A negative value suppresses the canonical analysis entirely. Let v be the number of variables in the VAR statement, and let c be the number of classes. If you omit the NCAN= option, only min( v , c-1 ) canonical variables are generated; if you also specify an OUT= output data set, v canonical variables are generated, and the last canonical variables have missing values.
>>
So for two classes, min( v , c-1 ) = 1.
Hence, by default, only 1 canonical variable is generated !
Cheers,
Koen
... View more