CommencerCommencez gratuitement

Correlations by sex

As you saw in an earlier exercise, the correlation between abalone age and shellWeight was fairly strong with Pearson's r=0.63. Compute this correlation again for each sex: "I" for immature infants. "F" for adult females, and "M" for adult males.

For which sex is the correlation between age and shellWeight, the largest?

The abaloneKeep dataset, dplyr and psych packages have been loaded for you.

Cet exercice fait partie du cours

<cours>R For SAS Users</cours>
Voir le cours

Exercice interactif pratique

Transformez la théorie en action avec l’un de nos exercices interactifs

Commencer l’exercice