I am total novice in algebra, so I need help regarding what I try to do... I have built the following equation:
![M[B_{k}]_{(\alpha ,h)} = \frac{1}{B_{k}}\sum_{i=1}^{B_{k}}\left [ \frac{1}{(n')^2}\left ( \sum_{j=1}^{n'}\sum_{i=1}^{n'}\left ( \sqrt{\sum_{i=1}^{n}\left ( rec_{h_{i}}-rec_{\alpha_{i}} \right )^2} \right )_{ij} \right ) \right ]_{i}](../../images/ba69cde848fae9fe786179944a77b8cb.webp)
and these three statements:



Here is what is the process I tried to describe:
B is a family set of length 21, containing rounded values of
looking like 
K is an index set (of B) looking like that: 
is the mean of means (if k = 1 only, if not see further) of euclidian distances calculated on variables n between n' records of
and h (both randomly sampled in a dataset) ; if I made no mistakes it is done by this part of the equation:

This part:
aims to tel that the operation done in the brackets [...] is bootstraped
times and mean of the output is calculated to obtain finally mean of means of means (if k > 1
).
Could you please tell me if this logics sounds good ?
And finally, if I want to considere
as a familly set containing all results from bootstrap, I am OK to write that :
![M_{(\alpha ,h)} = \left \{ \frac{1}{B_{k}}\sum_{i=1}^{B_{k}}\left [ \frac{1}{(n')^2}\left ( \sum_{j=1}^{n'}\sum_{i=1}^{n'}\left ( \sqrt{\sum_{i=1}^{n}\left ( rec_{h_{i}}-rec_{\alpha_{i}} \right )^2} \right )_{ij} \right ) \right ]_{i}\right \}](../../images/57c4a9139972e5cb998aa1ffb9c133a4.webp)
One of the question I did not manage to answer is, if e.g. *k = 3, the output is only the one computed with
or is it
(which is not what I have done in R...).
The other question is that the output of this computation will certainly not be ordered (values may not be crescent) ; is it a problem ?
Many thanks for your help, and 


