# Linear vs non-linear Correlation

How do i check that two random variables satisfy the requirements for computing correlation via Pearson or Spearman? If the data is non-linear/ non-Monotonic, are there other tests i could use to compute a correlation coefficient?

• Once the variables are random, there is nothing like linear and non-linear. Only thing you need is adequate/ minimum sample size to cope with population. Sep 12 '14 at 15:30
• the tests are not needed. What is needed is to examine data-type. Sep 12 '14 at 15:35

• The link in your answer is not hyperlinking correctly. Please try putting triangle braces (< >) around it or putting space between the parenthesis and link.