Author |
Topic  |
|
Farqhuit
United Kingdom
14 Posts |
Posted - 04/03/2023 : 04:55:58 AM
|
Origin Ver. and Service Release (Select Help-->About Origin): 2021b Pro 64-bit SR2 9.8.5.212 Operating System:Windows 10
Hi all,
With Scatter Interval plots, I have noticed that the median line does not always have the same number of data above as below. When there are an odd number of data, the median line should plot exactly on the middle one, should it not?
Thanks,
Dave
Farqhuit |
|
YimingChen
1666 Posts |
Posted - 04/03/2023 : 09:00:15 AM
|
Could you attach a figure showing the issue? I am not able to reproduce it. Thanks.
James |
 |
|
Farqhuit
United Kingdom
14 Posts |
Posted - 04/04/2023 : 05:23:42 AM
|
Hi James,
Here's an example. Each group of data has 10 points. The LHS group has 6 below and 4 above; the centre group has 4 above, 5 below and 1 on the line; the RHS group has 5 below and 5 above.
Dave

Farqhuit |
 |
|
Echo_Chu
China
Posts |
Posted - 04/13/2023 : 06:23:45 AM
|
Hi, Farqhuit
By default, the algorithm of median values is Empirical Distribution with Averaging. You can look at the details in the page below.
https://www.originlab.com/doc/en/Origin-Help/DescStats-Dialog#Interpolation_of_quantiles
That is, according to the algorithm, if you have 10 points, then the median values should be equal to the average of values of the 5 and 6 points (Sort data first).
Please see whether it is the case of your data.
Echo
|
 |
|
|
Topic  |
|