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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 LabTalk Forum
 how to use prediction fitting usage
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

rexsoft

S. Korea
Posts

Posted - 02/20/2006 :  1:18:23 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version 7.5(Select Help-->About Origin):
Operating System:windows xp professional
Please Help me..
I don't know how to operate Prediction fitting labtalk.
this is my labtalk script.
my script run,and then no error,
but i get a only same result as changed nlsf.pred
may be some fault ...
chould anybody tell me .. about prediction fitting ..
and give me some example source .. please ..


a=-1.1; //p0
b=0.1;
c=0.1;
d=0.1;

nlsf.cleanupfitdata();
nlsf.fitData$=JSILDATA_HC; //col with data to fit
nlsf.iterate(50);
nlsf.xmode=1;

nlsf.funcx$=JSILDATA_AGE; //use as X dataset
nlsf.funccol$=JSILDATA_HCFit;
nlsf.makecurve(func);
layer -e JSILDATA_HCFit;

nlsf.xbegin=11;
nlsf.xend=40;
nlsf.xstep=1;
nlsf.xpoints=30;
JSILPREBAND_age=data(11,40);
nlsf.funccol$=JSILPREBAND_p50;
nlsf.makecurve(func);
layer -e JSILPREBAND_p50;
nlsf.pred =0.97;
nlsf.lPredCol$ = JSILPREBAND_p3;
nlsf.uPredCol$ = JSILPREBAND_p97;
nlsf.makecurve(pred);
layer -e JSILPREBAND_p3 JSILPREBAND_p97 ;



nlsf.pred =0.95;

nlsf.lPredCol$ = JSILPREBAND_p5;
nlsf.uPredCol$ = JSILPREBAND_p95;
nlsf.makecurve(pred);


nlsf.pred =0.90;
nlsf.lPredCol$ = JSILPREBAND_p10;
nlsf.uPredCol$ = JSILPREBAND_p90;
nlsf.makecurve(pred);

nlsf.pred =0.75;
nlsf.lPredCol$ = JSILPREBAND_p25;
nlsf.uPredCol$ = JSILPREBAND_p75;
nlsf.makecurve(pred);

result: JSILPREBAND worksheet

P3 P5 P10 P25
4.35476 4.35476 4.35476 4.35476 6.24535
5.4753 5.4753 5.4753 5.4753 7.36589
6.62607 6.62607 6.62607 6.62607 8.51666
7.8021 7.8021 7.8021 7.8021 9.69269
8.99839 8.99839 8.99839 8.99839 10.88898
10.20997 10.20997 10.20997 10.20997 12.10056
11.43186 11.43186 11.43186 11.43186 13.32245
12.65907 12.65907 12.65907 12.65907 14.54966
13.88662 13.88662 13.88662 13.88662 15.77721
15.10952 15.10952 15.10952 15.10952 17.00011
16.3228 16.3228 16.3228 16.3228 18.21339
17.52147 17.52147 17.52147 17.52147 19.41206


Edited by - rexsoft on 02/20/2006 6:25:13 PM
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000