# Thread:

1. ## Expected ranked position of a set of normal-distributed random variables

Given several normal-distributed random variables X1 .. Xn with means m1,m2,m3 .. mn and variance s1,s2,s3 .. sn respectively, how can the ranking (when sorted from highest to lowest) of a particular sample can be predicted in general?

For example, if X1 ~ N(1,1) , X2 ~ N(2,1) and X3 ~ N(1,2), what will be the average "ranked position" (after sorting) of the X1 sample, the X2 sample and the X3 sample?

I tried to research the problem, but all I came up was a solution for the case with two variables.
Thanks in advance for help and hints!

2. This probably isn't the most efficient way of doing this, but I guess you can get the probability of each of the orderings and work with that (i.e. $P(X_1 \le X_2 \le X_3)$ and so forth, which I assume you know how to get). Probably that would get out of control for large n though. At the very least you can streamline those sort of calculations - you would be working with a bunch of multivariate normals - but then you would have to do $n!$ of these.

I don't see any reason to think this is an easy problem in practice if you really want to get exact answers. You could Monte Carlo this if it is a practical problem.

At least this takes care of the example you gave though. You only need to calculate 6 probabilities to know the distributions of the rankings.
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 2, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.9470511674880981, "perplexity_flag": "middle"}