T O P I C R E V I E W |
jim117 |
Posted - 03/04/2002 : 1:04:37 PM when I used the following scripts to perform linear regression on a worksheet to get the fitted new y data for analysis, I fing it not working: //----//testLR.ogs(saved in origin directory) [main] stat.reset(); stat.data$=%1; //dataset to fit stat.errbardata$=%2; stat.fitxdata$=%3;stat.fitydata$=%4; //dataset used to store fitted x&y values stat.makex.fitnpts=%5; stat.lr(); //----// then in the script window, I wrote: run.section(testLR.ogs, main, test_rawdata test_errbar test_fitx test_fity numpoints); # created worksheet of "test" has five columns: A[X], rawdata[Y], errbar[Y], fitx[Y], fity[Y]
Could anyone help me to point out where is wrong? Thanks!
|
4 L A T E S T R E P L I E S (Newest First) |
jim117 |
Posted - 03/12/2002 : 09:14:02 AM Many thanks. Greg. Now it is ok!
jim |
greg |
Posted - 03/08/2002 : 10:43:04 AM You don't mention what version you are using. I tried 6.0211(6.0 Release), 6.1052(6.1 Release) and 6.1113(6.1 SR4) and they all worked. Maybe there are specific steps involved with the problem. You should contact your technical support with the details to reproduce the problem.
Edited by - greg on 03/08/2002 10:50:41 |
jim117 |
Posted - 03/07/2002 : 08:23:09 AM Thanks. However, it is still not working for my side. I've already initialized the numpoints and after executed the "run.section" script, no fitted dataset and errorset showed in the worksheet of "test".
why? I am very confused. |
greg |
Posted - 03/06/2002 : 4:45:37 PM Works fine for me...
Maybe you forgot to initialize numpoints?
|