T O P I C R E V I E W |
Nilsdalby |
Posted - 07/18/2002 : 7:37:48 PM Hi
I have some problems with the following code:
stat.reset(); stat.ds.data$=data1_4; stat.ds(); stat.ds.var;
1) This code is supposed to give the variance (stat.ds.var) of dataset data1_4 but for unknown reason is "unstable", sometimes return "0", sometimes the real value to the script window. Another function, stat.ds.mean does always give the right value to the script window (of course, redirect to the script window needs the = sign). 2)I can not redirect the result (stat.ds.var or stat.ds.mean) to anywhere but the scriptwindow. Setting equal to a, data2_1, %(%H,1,1) etc. has no effect.
Any suggestions very much appreciated, thanks in advance
Nils
|
1 L A T E S T R E P L I E S (Newest First) |
easwar |
Posted - 07/19/2002 : 09:18:36 AM Hello,
After the stat.reset() line, you need to add: stat.ds.more=1;
This property is equivalent to checking the "Advanced Statistics" check box on the Stats on Cols/Rows worksheet template.
We should probably set this property as on by default - will look into that.
Easwar OriginLab. |
|
|