next up previous
Next: Regression Up: Descriptive Statistics Previous: Variances and Covariances


Correlations are obtained by checking the "Correlation" button. For the above example we have
Rweb:> cor(variables)  
         Height   Weight 
Height 1.000000 0.780414 
Weight 0.780414 1.000000
The diagonal elements are always 1. The correlations are the off-diagonal elements. In this case the correlation between "Height" and "Weight" is 0.780414.