Nilsdalby
Denmark
23 Posts |
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
|
|