Hi guys I have a very strange result
My Spearman correlation says there is no correlation between temperature and number of users (alpha 5%). Data is autocorrelated, non normal, heteroskedastic. That is why I go for non parametric
Yet if I do the Theil-Sen estimator, I get a significant slope
Which test should I trust ?
Output Spearman
cor.test(Anzahl_Nutzer,Niederschlagshöhe,method = c("spearman"))
S = 167870000, p-value = 0.1253
alternative hypothesis: true rho is not equal to 0
sample estimates:
rho
0.04805172
Output Theil Sen
fit = mblm(residuals_differenced~Diff_Niederschlagshöhe_7Tage,total, repeated = TRUE)
Coefficients:
Estimate MAD V value Pr(>|V|)
(Intercept) -8.299 303.344 236866 0.08426 .
Diff_Niederschlagshöhe_7Tage 17.610 111.736 290750 0.00332 **
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
Residual standard error: 1402 on 1024 degrees of freedom

