Assignment7_Correlations

Assignment7_Correlations

by Khashayar Namdar -
Number of replies: 3
Hi.
Where it says "Print the correlation estimators for the dataset.", does it mean correlations between all variables in the dataset or just temp and cnt?
If it means between all, what should we do with the non-numerical columns like data? Should they be dropped or converted?
In reply to Khashayar Namdar

Re: Assignment7_Correlations

by Erik Spence -
The only columns we care about for this assignment are the two mentioned.
In reply to Erik Spence

Re: Assignment7_Correlations

by Mauro Mendez Mora -
Hi, I ran the shapiro test to learn if both variables are gaussian or not and depending on the results I would apply the Pearson or the Spearman test. Both of them are not gaussian, however, in the assignment examples the correlation value is calculated using Pearson. Am I missing something?
In reply to Mauro Mendez Mora

Re: Assignment7_Correlations

by Erik Spence -
We're not performing a test, just a calculation of the correlation.  Use the 'cor' function.