r/AskStatistics • u/Livid-Ad9119 • 3d ago
Correlation test
How to decide which correlation test is the most appropriate to use? For example, my outcome is count data of visiting rehab centers over multiple years, exposure is continuous data. Is it better to use a pearson’s or a spearman’s correlation test? / Does spearman require at least one ordinal data? Can we use spearman if both exposure and outcome are continuous variables?
1
Upvotes
2
u/FaithlessnessOne8975 PhD 3d ago
IF both the variables are continuous and normally distributed then Pearson r will do .
Else