Skip to main content
. 2020 Mar 9;17(5):1780. doi: 10.3390/ijerph17051780
Algorithm 1. Algorithm used to calculate the robust average Eref and robust standard deviation s* taken from ISO 13528:2015 denoted as Algorithm A. The parameters are updated following the steps 3 and 4 iteratively until the process converges.
1: There are p items of results denoted as:
  Ei=E1, E2, E3, …, Ep
2: Calculate initial values for Eref and s* as:
  Eref=median of Ei
  s*=1.483 median of |Ei−Eref|
3: Update the values of Eref and s* as follows. Calculate:
  δ=1.5 s*
  Ei*={Eref−δwhenEi<Eref−δEref+δwhenEi>Eref+δEiotherwise
4: Calculate the new values of Eref and s* from:
  Eref=mean of Ei*
  s*= 1.134·SD (Ei*)