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 am comparing images for correlation. The images are all correlated, but I would like to determine when one pair is much more highly correlated, relative to another pair. I am using as a statistic the difference in the logs of p-values produced by a Spearman rank correlation test. If this is difference is small, there is a normal degree of correlation. If this difference is big, there is a higher degree of correlation in one pair than the other pair.

Let $A$, $B$, and $C$ be images. I would like to determine a distribution and calculate a p-value for $ x = \vert \log(\mbox{SpearmanRankCorr}(A,B)) - \log(\mbox{SpearmanRankCorr}(A,C)) \vert $

share|improve this question

1 Answer

up vote 1 down vote accepted

You might want to consult the theory about transformations of random variables, since a statistic is basically a function of a random variable which is the data.

http://math.arizona.edu/~jwatkins/f-transform.pdf

Also the best source is 'Statistical Inference' by George Casella.

share|improve this answer
Is this the only way to go about determining a distribution from a statistic? If I try to perform, $$ f_{Y}(y) = f_{X}(g^{-1}(y)) \bigl\vert \dfrac{d}{dy}g^{-1}(y) \bigr\vert, $$ any statistic $ Y = g(X) $ of the data, $ X $, involving the Spearman rank correlation test will not be one-to-one. Assuming I had a statistic, $ g(X) $, that was invertible, the underlying data, $ X $, is image data that doesn't follow any simple distributions. (I guess I could model it as a complicated mixture of Gaussians, right?) Is there any other way to describe a distribution of an arbitrary statistic? – cjohnson318 Apr 25 '12 at 22:09
as far as i know this is the only way, unless there is a known approximation or result that i'm not aware of about your specific problem. Also about the fact that it is not one to one, you can use the following result from casella, which says that in the formula move you have the sum of the right hand side above for g_{1}, g_{2}, etc, where the g's correspond to each interval where the distribution is defined. for example in the case of the absolute value you have two components, one for (-\infty,0) plus other for (0,\infty). – raygozag Apr 26 '12 at 2:31
Whammy. I was hoping that there was some kind of boot-strapping solution. Thank you for pointing out the piece-wise inversion result, I did not know about that. – cjohnson318 Apr 26 '12 at 14:11

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.