Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
feldpausch
Posted - 03/13/2003 : 08:56:28 AM Hello, i've got a problem in using LabTalks "stat.DS.median" object.
How to define the used Dataset (e.g. some rows in one colum) on which stat.DS.median works on?
Simple question? => thanks for your help!
best regards, Philipp Feldpausch
1 L A T E S T R E P L I E S (Newest First)
easwar
Posted - 03/13/2003 : 09:18:28 AM Hi Philipp,
Try this:
stat.ds.data$=data1_b; // point to dataset stat.ds(); // get stats median = stat.ds.median; // median value
If you want to operate only on a subset of rows of your dataset, then you can set begin and end for dataset temporarily as below:
set data1_b -bs 1; // temporarily set begin to row 1 set data1_b -es 5; // temporarily set end to row 5 stat.ds.data$=data1_b; stat.ds(); stat.ds.median=;