Let $X_1, ..., X_n$ be independent random variables with continuous CDF $F$.
$R_1, ..., R_n$ denotes the corresponding rank statistics, i.e. $R_i$ is the rank of $X_i$ in the order statistics $X_{(1)} \le ... \le X_{(n)}$.
Define $\overline{R}:= \frac{1}{n} \sum_{i=1}^{n}R_i$ and $\overline{i}:= \frac{1}{n} \sum_{i=1}^{n}i$ and by that $$r:=\frac{\sum_{i=1}^{n}(R_i-\overline{R})(i-\overline{i})}{{\sqrt{\sum_{i=1}^{n}\left(R_{i}-\overline{R}\right)^{2}\sum_{i=1}^{n}\left(i-\overline{i}\right)^{2}}}}.$$
Find a constant $c_n$ and functions $f_i$ such that $$r=1-c_n\sum_{i=1}^{n}f_i(R_i).$$
Give an interpretation for the extrema of r.
Compute $\mathbb{E}[r]$ and $Var(r)$.
Now suppose there's another observartion $Y_1, ..., Y_m$ and $R_i$, $i=1, ..., n$ now denotes the rank of $X_i$ in the order statistics of $(X_1, ..., X_n, Y_1, ..., Y_m)$.
Compute $\mathbb{E}[\sum_{i=1}^{n}R_i]$ and $Var(\sum_{i=1}^{n}R_i)$.
Give an interpretation for the extrema of $\sum_{i=1}^{n}R_i$.
As far as I remember, we didn't treat rank statistics so far. I recall a little something about order statistics and this is supposed to be a repetition. But my trouble starts with 1. and I basically can't make any sense of the whole concept, e.g. the definition of $r$.
Can anyone explain some of this stuff to me so I might be able to tackle the problems?
[edit] Sorry, there was another fault in the formula for $r$.
[edit2] I keep trying without success. One thing that puzzles me for example: What's the difference between $\overline{R}$ and $\overline{i}$ anyway? Every index should appear once in both sums, the ordering doesn't chance the sum, so they should be the same?
Question 2 is then that the maximum $r$ is $1$, i.e., when all Spearman's $d_i$'s are all zero, corresponding to a sample where all the $X_i$ area already in ascending numerical order in the order that they have been drawn. This is sensible, because there is then perfect positive correlation between position $i$ and rank $R_i$, as there is no randomness in that sequence so that. Minimum value is $r=-1$, when all $X_i$ are in reverse (descending) order (perfect negative correlation of $i$ with $R_i$).