Canonical correlation is defined in terms of standardized scores of variables in both sides. Conceptually discrete variables cannot be used. However I have seen many people have used discrete variables with canonical technique. Is this a correct use?