<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: proc nlin and outest statement in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/proc-nlin-and-outest-statement/m-p/342824#M18033</link>
    <description>&lt;P&gt;I don't think multiple parameter statements are allowed but you can list starting parameter values in a separate dataset. This should work:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;title2 "Non-Linear Regression y ~ X";

data parameters;
parameter = "beta1"; estimate=0.05; output;
parameter = "beta2"; estimate=4; output;
parameter = "beta2"; estimate=0.53261; output;
parameter = "beta1";
    do estimate = 0.753362 to 1.0 by 0.01;
        output;
        end;
    do estimate = 0.5 to 2.0 by 0.1;
        output;
        end;
run;

proc NLIN data = eight
    BEST = 10
    MAXITER = 100
    METHOD = Gauss
    CONVERGE=1.0E-6
    LIST
    ALPHA = 0.10
    OUTEST = KOKO(where = (_TYPE_ = "COVB"));
parameters / pdata=parameters;
model y = Beta1 * exp(Beta2 * x);
output
    out = eightOut
    p = y_hat
    r = residual
    stdr = SE_Resid
    LCLM = LCL_Mean
    UCLM = UCL_Mean ;
run; quit; 
title;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;(untested)&lt;/P&gt;</description>
    <pubDate>Tue, 21 Mar 2017 03:00:23 GMT</pubDate>
    <dc:creator>PGStats</dc:creator>
    <dc:date>2017-03-21T03:00:23Z</dc:date>
    <item>
      <title>proc nlin and outest statement</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-nlin-and-outest-statement/m-p/342445#M18017</link>
      <description>&lt;P&gt;SAS 9.4 TS LEVEL 1M3&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hello,I am having difficulty with outest statement and reference to new (?) dataset koko. &amp;nbsp;Please see error message below. I think it should output the cov matrix of the parameter estimates? How to do? &amp;nbsp;Could it be a semicolon or statement placement problem?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;proc NLIN data = eight&lt;/DIV&gt;
&lt;DIV&gt;BEST= 10 &amp;nbsp; &amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;MAXITER= 100 &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;METHOD= Gauss&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;CONVERGE=1.0E-6&lt;/DIV&gt;
&lt;DIV&gt;LIST&lt;/DIV&gt;
&lt;DIV&gt;ALPHA = 0.10; &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;parms Beta1 = 0.05 Beta2 = 4;&lt;/DIV&gt;
&lt;DIV&gt;parms&lt;/DIV&gt;
&lt;DIV&gt;Beta1 = 0.753362 to 1.0 by 0.01&lt;/DIV&gt;
&lt;DIV&gt;Beta2 = 0.53261;&lt;/DIV&gt;
&lt;DIV&gt;der.Beta1 = exp(beta2 * x);&lt;/DIV&gt;
&lt;DIV&gt;/* OUTEST = KOKO(where = (_TYPE_ = "COVB")); */&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; model y = Beta1 * exp(Beta2 * x);&lt;/DIV&gt;
&lt;DIV&gt;output&lt;/DIV&gt;
&lt;DIV&gt;out = eightOut&lt;/DIV&gt;
&lt;DIV&gt;p= y_hat&lt;/DIV&gt;
&lt;DIV&gt;r= residual&lt;/DIV&gt;
&lt;DIV&gt;stdr= SE_Resid&lt;/DIV&gt;
&lt;DIV&gt;LCLM= LCL_Mean &amp;nbsp; &amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;UCLM= UCL_Mean ; &amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;run; quit; title;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;/* &amp;nbsp;error msg&lt;/DIV&gt;
&lt;DIV&gt;OUTEST = KOKO(where = (_TYPE_ = "COVB"))&lt;/DIV&gt;
&lt;DIV&gt;ERROR: Cannot find a library containing subroutine KOKO.&lt;/DIV&gt;
&lt;DIV&gt;ERROR: no dependent variable specified.&lt;/DIV&gt;
&lt;DIV&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/DIV&gt;
&lt;DIV&gt;WARNING: The data set WORK.EIGHTOUT may be incomplete. &amp;nbsp;When this step was&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;stopped there were 0 observations and 0 variables.&lt;/DIV&gt;
&lt;DIV&gt;WARNING: Data set WORK.EIGHTOUT was not replaced because this step was stopped.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;OUTEST=SAS-data-set&lt;/DIV&gt;
&lt;DIV&gt;specifies an output data set that contains the parameter estimates produced at each iteration.&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;See the section Output Data Sets for details.&lt;/DIV&gt;
&lt;DIV&gt;*/&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2017 02:32:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-nlin-and-outest-statement/m-p/342445#M18017</guid>
      <dc:creator>MaryA_Marion</dc:creator>
      <dc:date>2017-03-20T02:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: proc nlin and outest statement</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-nlin-and-outest-statement/m-p/342451#M18018</link>
      <description>&lt;P&gt;Option OUTEST belongs in the &lt;STRONG&gt;proc nlin&lt;/STRONG&gt; statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc NLIN data = eight
BEST= 10    
MAXITER= 100   
METHOD= Gauss 
CONVERGE=1.0E-6
LIST
ALPHA = 0.10
OUTEST = KOKO(where = (_TYPE_ = "COVB")); &lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 20 Mar 2017 03:10:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-nlin-and-outest-statement/m-p/342451#M18018</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2017-03-20T03:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: proc nlin and outest statement</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-nlin-and-outest-statement/m-p/342557#M18019</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;thank you for your reply.  There are two problems.&lt;BR /&gt;1. koko does not exist&lt;BR /&gt;2. can I run multiple parms statements that preferrably are labelled?&lt;BR /&gt;&lt;BR /&gt;Sincerely,&lt;BR /&gt;Mary&lt;BR /&gt;&lt;BR /&gt;2. title2 "Non-Linear Regression y ~ X";&lt;BR /&gt;proc NLIN data = eight&lt;BR /&gt;BEST = 10&lt;BR /&gt;MAXITER = 100&lt;BR /&gt;METHOD = Gauss&lt;BR /&gt;CONVERGE=1.0E-6&lt;BR /&gt;LIST&lt;BR /&gt;ALPHA = 0.10&lt;BR /&gt;    OUTEST = KOKO(where = (_TYPE_ = "COVB"));&lt;BR /&gt;parms Beta1 = 0.05 Beta2 = 4;&lt;BR /&gt;parms&lt;BR /&gt;Beta1 = 0.753362 to 1.0 by 0.01&lt;BR /&gt;Beta2 = 0.53261;&lt;BR /&gt;parms&lt;BR /&gt;Beta1 = 0.5 to 2.0 by 0.1&lt;BR /&gt;Beta2 = 0.53261;&lt;BR /&gt;der.Beta1 = exp(beta2 * x);&lt;BR /&gt;    model y = Beta1 * exp(Beta2 * x);&lt;BR /&gt;output&lt;BR /&gt;out = eightOut&lt;BR /&gt;p = y_hat&lt;BR /&gt;r = residual&lt;BR /&gt;stdr = SE_Resid&lt;BR /&gt;LCLM = LCL_Mean&lt;BR /&gt;UCLM = UCL_Mean ;&lt;BR /&gt;run; quit; title;&lt;BR /&gt;&lt;BR /&gt;##- Please type your reply above this line. Simple formatting, no&lt;BR /&gt;attachments. -##</description>
      <pubDate>Mon, 20 Mar 2017 12:44:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-nlin-and-outest-statement/m-p/342557#M18019</guid>
      <dc:creator>MaryA_Marion</dc:creator>
      <dc:date>2017-03-20T12:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: proc nlin and outest statement</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-nlin-and-outest-statement/m-p/342740#M18027</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16492"&gt;@MaryA_Marion&lt;/a&gt; wrote:&lt;BR /&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;thank you for your reply. There are two problems.&lt;BR /&gt;1. koko does not exist&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;OUTEST creates an output set. If you use the name of an existing data set the procedure will overwrite the existing set.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2017 19:43:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-nlin-and-outest-statement/m-p/342740#M18027</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-03-20T19:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: proc nlin and outest statement</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-nlin-and-outest-statement/m-p/342824#M18033</link>
      <description>&lt;P&gt;I don't think multiple parameter statements are allowed but you can list starting parameter values in a separate dataset. This should work:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;title2 "Non-Linear Regression y ~ X";

data parameters;
parameter = "beta1"; estimate=0.05; output;
parameter = "beta2"; estimate=4; output;
parameter = "beta2"; estimate=0.53261; output;
parameter = "beta1";
    do estimate = 0.753362 to 1.0 by 0.01;
        output;
        end;
    do estimate = 0.5 to 2.0 by 0.1;
        output;
        end;
run;

proc NLIN data = eight
    BEST = 10
    MAXITER = 100
    METHOD = Gauss
    CONVERGE=1.0E-6
    LIST
    ALPHA = 0.10
    OUTEST = KOKO(where = (_TYPE_ = "COVB"));
parameters / pdata=parameters;
model y = Beta1 * exp(Beta2 * x);
output
    out = eightOut
    p = y_hat
    r = residual
    stdr = SE_Resid
    LCLM = LCL_Mean
    UCLM = UCL_Mean ;
run; quit; 
title;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;(untested)&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2017 03:00:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-nlin-and-outest-statement/m-p/342824#M18033</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2017-03-21T03:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: proc nlin and outest statement</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-nlin-and-outest-statement/m-p/343310#M18055</link>
      <description>All three did not appear on output.  It may be safer to just run these one&lt;BR /&gt;at a time.&lt;BR /&gt;&lt;BR /&gt;Mary&lt;BR /&gt;&lt;BR /&gt;##- Please type your reply above this line. Simple formatting, no&lt;BR /&gt;attachments. -##</description>
      <pubDate>Wed, 22 Mar 2017 15:10:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-nlin-and-outest-statement/m-p/343310#M18055</guid>
      <dc:creator>MaryA_Marion</dc:creator>
      <dc:date>2017-03-22T15:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: proc nlin and outest statement</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-nlin-and-outest-statement/m-p/344288#M18106</link>
      <description>&lt;P&gt;Your approach of using a dataset for the parms was clever. However I did not feel comfortable with the output from SAS. I was not completely sure which set of parameters I was using. &amp;nbsp;I am doing them one at a time now (3 runs of proc nlin).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As for koko, I have a SAS-win10 OS problem sometimes. &amp;nbsp;After many tries I finally got koko to print out. &amp;nbsp;proc nlin syntax is very sensitive.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for replying.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Mary&lt;/P&gt;</description>
      <pubDate>Sat, 25 Mar 2017 12:47:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-nlin-and-outest-statement/m-p/344288#M18106</guid>
      <dc:creator>MaryA_Marion</dc:creator>
      <dc:date>2017-03-25T12:47:11Z</dc:date>
    </item>
  </channel>
</rss>

