The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 Median line on scatter interval plot
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Farqhuit

United Kingdom
14 Posts

Posted - 04/03/2023 :  04:55:58 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Could you attach a figure showing the issue? I am not able to reproduce it. Thanks.

James
Go to Top of Page

Farqhuit

United Kingdom
14 Posts

Posted - 04/04/2023 :  05:23:42 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

Echo_Chu

China
Posts

Posted - 04/13/2023 :  06:23:45 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000