[R] nls
Anne_Yeh@hc-sc.gc.ca
Anne_Yeh at hc-sc.gc.ca
Thu Aug 9 16:56:12 CEST 2001
Hello,
I want to convert the following SAS code in S-plus script.
I'm using S-Plus 2000 in Windows 95.
PROC nlmixed data=dat cov df=39;
PARMS A=-1.5 A1=0.5 B=1.1 C=.1 D=.7;
IF SAMPLE="s" THEN I=0;
ELSE I=1;
Y=A+B*lconc + A1*I;
F1=C+(D-C)/(1+EXP(-Y));
MODEL OD ~ normal(F1,s2e);
Does anyone have any advice as to how to do this?
Any comments will be appreciated,
Anne
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list