Assignment7_Correlations

Assignment7_Correlations

par Khashayar Namdar,
Nombre de réponses : 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?
En réponse à Khashayar Namdar

Re: Assignment7_Correlations

par Erik Spence,
The only columns we care about for this assignment are the two mentioned.
En réponse à Erik Spence

Re: Assignment7_Correlations

par 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?
En réponse à Mauro Mendez Mora

Re: Assignment7_Correlations

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