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
 All Forums
 Origin Forum
 Origin Forum
 Median line on scatter interval plot

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Farqhuit 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
3   L A T E S T    R E P L I E S    (Newest First)
Echo_Chu 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
Farqhuit 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
YimingChen 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

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000