Tell me more ×
Cross Validated is a question and answer site for statisticians, data analysts, data miners and data visualization experts. It's 100% free, no registration required.

I have two variables A and B of interval scale type.

A is the birth year of a person and B is the number of years spent at university.

What method would you recommend to measure the correlation?

share|improve this question
What is the purpose of this exercise? – mpiktas Dec 20 '11 at 10:09
to help out a friend – Яaffael1984 Dec 20 '11 at 10:14
Well helping friend is a noble thing to do, but the question should adhere to FAQ. In my opinion it does not. Hence the downvotes. The objection is the same as in previous question. – mpiktas Dec 20 '11 at 10:18
but isn't t that the question of what method to choose for calculating the correlation is not just depending on the analysis afterwards but also (and that is what my questions are directed at) to the nature of the data itself? So an answer or educated guess would be possible ... !? – Яaffael1984 Dec 20 '11 at 10:21
4  
"Nature of the data" generally provides only rough (or even misleading) guidance for data analysis, Raffael. It is far more important to know the purpose of the analysis: what decisions or actions will be taken as a consequence? Second in importance is to know something of the statistical characteristics of the data, such as their univariate and bivariate distributions. Without any of this information available in your question, we can only provide guesses and generalities. This makes it difficult to be useful to you or subsequent readers interested in this topic. – whuber Dec 20 '11 at 11:44
show 1 more comment

1 Answer

up vote 5 down vote accepted

If you would like to see correlation between birth cohorts and amount of schooling take the year and the number of years only. would that be a solution? Just like this:

cor(year_of_birth, years_in_university)

Edit

I conclude from your comments you want to choose between Spearman/Kendall/Pearson. There are numerous questions concerning this topic (e.g choosing between Spearman and Pearson)

Basically the difference is that Pearson measures a linear relationship while Spearman measures monotonic relationship. In most cases however they will be pretty similar. If you read the article referenced - you will see that you gave your answer in your question. For interval scaled variables the Spearman method is more appropriate.

share|improve this answer
exactly that's what I meant - corrected the question. what specific method would you choose and why? – Яaffael1984 Dec 20 '11 at 9:56
1  
what do you mean by 'method'? you mean spearman/pearson/kendall? – Seb Dec 20 '11 at 9:58
The formula you think suits best to calculate a correlation – Яaffael1984 Dec 20 '11 at 9:59

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.