Ranking a vector containing ties – mathematica.stackexchange.com
How can I rank a vector such that the ties are replaced by their middle
ranks. For example, {1, 2, 2, 3}. I want to rank this vector but the ties
must be replaced by their mid-rank; i.e., given {1, 2, …
No comments:
Post a Comment