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 for Programming
 LabTalk Forum
 Determination of the median of a column

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
PhO68 Posted - 10/09/2013 : 10:10:08 AM
Origin Ver. and Service Release: Origin 7.0 SR0
Operating System: Windows Seven

Hi

I have came through a very strange issue. I want to perform a statistic analysis on the Y column of a worksheet and in particular I want to determine the median value. To do so I use the following script:
stat.reset();
stat.ds.data$=Data1_b;
stat.ds();
stat.ds.median=;

But in my case the median value (stat.ds.median) always returns 0! If, for instance, I do stat.ds.max to get the maximum it is working. Similarly when I do the "statistic on column" I found a value for the median that is different from 0!

So I am really stuck because I cannot find any error in my code (that I found on this forum) and any help will be more than welcome.

Philippe
2   L A T E S T    R E P L I E S    (Newest First)
PhO68 Posted - 10/10/2013 : 04:04:12 AM
Hi,
I already installed this patch for the library some time ago. So unfortunately it is not the reason of what I am observing.
Philippe
greg Posted - 10/09/2013 : 3:39:14 PM
Have you tried this?
http://www.originlab.com/www/support/resultstech.aspx?ID=1080&language=English&Version=7.5

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