I want to generate two distinct sets of correlated ordinal variables (ranging from 1 to 7). The first set will be represented by x1, x2 and x3 whereas the second set will be represented by x4, x5 and x6. I want the first set of variables (x1, x2 and x3) to be moderately correlated (e.g., 0.4) whereas the second set of variables (x4, x5 and x6) to be strongly correlated (e.g., 0.7). At the same time, I want the correlation between these two sets of variables to be weak (e.g., 0.10) with each other.
Aucun commentaire:
Enregistrer un commentaire