Article View: aus.stats.s
Article #263[S] Nonlinear regression
From: "Stiff, Charles (TIFPC)"
Date: Fri, 03 Aug 2001 22:03
Date: Fri, 03 Aug 2001 22:03
41 lines
2228 bytes
2228 bytes
I am trying to fit compatible nonlinear basal area prediction and projection
models simultaneously. In SAS I used the following code:
proc nlin;
parms a0 =- 8.328216
a1=-15.5
a2=.7
a3=1.35
a4=5.0
b1 = -0.200545
b2 = .062932;
if dum = 1 then do;
model ba2= exp(a0+a1*x5+b1*y3 + a2*x1 + a3*x2 + a4*x4 ) ;
end;
else do;
model ba2= ba1*exp(a1*x5+b1*y3 + a2*x1 + a3*x2 + a4*x4 );
end;
run;
We recently purchased S-Plus 2000, and are running the software on a PC with
Windows 95 and 128 MB RAM. Does anyone have any idea how I would approach
this problem with S-Plus?
Thanks for your assistance,
Chuck
Charles T. Stiff, PhD
Temple-Inland Forest Products Corporation
P.O. Drawer N
207 N. Temple Drive
Diboll, Texas 75941
Phone: 936-829-7852
FAX: 936-829-1601
E-mail: cstiff@templeinland.com
---------------------------------------------------------------------
This message was distributed by s-news@lists.biostat.wustl.edu. To
unsubscribe send e-mail to s-news-request@lists.biostat.wustl.edu with
the BODY of the message: unsubscribe s-news
---
Technical Details
Message-ID:
<78448300A1B3D21182100008C75DC421072262B9@apbmdf2.alleghenypbmdf.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!news1.optus.net.au!optus!news.usyd.edu.au!news.nsw.CSIRO.AU!cmis.csiro.au!owner-s-newsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fa931,e03be2876f193369,start
X-Google-Attributes: gidfa931,public
X-Google-ArrivalTime: 2001-08-03 15:24:23 PST
Newsgroups: aus.stats.s
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!news1.optus.net.au!optus!news.usyd.edu.au!news.nsw.CSIRO.AU!cmis.csiro.au!owner-s-news
From: CStiff@templeinland.com ("Stiff, Charles (TIFPC)")
Subject: [S] Nonlinear regression
X-Nntp-Posting-Host: snowy.nsw.cmis.csiro.au
Content-Type: text/plain
Message-ID: <78448300A1B3D21182100008C75DC421072262B9@apbmdf2.alleghenypbmdf.com>
Sender: majordomo@mailhost.nsw.cmis.CSIRO.AU
Organization: CSIRO Australia
X-To: "'s-news@lists.biostat.wustl.edu'" <s-news@lists.biostat.wustl.edu>
Mime-Version: 1.0
Date: Fri, 3 Aug 2001 22:03:29 GMT
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Length: 1090
X-Precedence: bulk
X-Received: by apbmdf2.alleghenypbmdf.com with Internet Mail Service (5.5.2653.19)
id <QAX6A1MR>; Fri, 3 Aug 2001 16:09:30 -0500
Lines: 41