Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: re. test of two spearman correlations?

From   "Alan Acock" <[email protected]>
To   <[email protected]>, <[email protected]>
Subject   st: re. test of two spearman correlations?
Date   Wed, 18 Feb 2004 20:52:25 -0800

|I have calculated a spearman correlations between two continuous variables
|(age and viral load) for whites and for blacks.  Is there a way to test the
|difference between the spearman rho for whites and blacks?

Since Spearman correlation is simply the Pearson correlation after the data
is converted to ranks, you could convert it to ranks, then do Pearson
Correlations. The problem, however, is that to compare whites and blacks you
need to worry about differences in variances. Spearman or Pearson
correlation forces the variances to be equal. It would make far more sense
to do regressions and test for differences in the unstandardized slopes, say
with an interaction term.

Alan Acock

*   For searches and help try:

© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index