<?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: fit nonlinear regression MODEL in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/fit-nonlinear-regression-MODEL/m-p/608145#M17636</link>
    <description>Thanks, PaigeMiller!</description>
    <pubDate>Fri, 29 Nov 2019 00:35:41 GMT</pubDate>
    <dc:creator>Joa14</dc:creator>
    <dc:date>2019-11-29T00:35:41Z</dc:date>
    <item>
      <title>fit nonlinear regression MODEL</title>
      <link>https://communities.sas.com/t5/New-SAS-User/fit-nonlinear-regression-MODEL/m-p/608017#M17609</link>
      <description>&lt;PRE&gt;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;I am struggling with getting the right code on xls. exported data to estimate the initial values of model parameters (logistic, Gompertz, Richards, and Weibull) my ymax is 61.0&lt;/P&gt;&lt;P&gt;I tried with these two but I get error:&lt;/P&gt;&lt;P&gt;Any suggestion? Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DATA=ALL&lt;/P&gt;&lt;P&gt;YMAX=61.0&lt;/P&gt;&lt;P&gt;LOGISTIC=LOG((YMAX/Y)-1);&lt;/P&gt;&lt;P&gt;GOMPERTZ=LOG(-LOG(Y/YMAX));&lt;/P&gt;&lt;P&gt;RICHARDS=LOG(1-(Y/YMAX));&lt;/P&gt;&lt;P&gt;WEIBULL=LOG((-LOG(1-(Y/YMAX));&lt;/P&gt;&lt;P&gt;LNX=LOG(X);&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;PROC REG DATA=ALL&lt;/P&gt;&lt;P&gt;MODEL LOGISTIC=X;&lt;/P&gt;&lt;P&gt;MODEL GOMPERTZ=X;&lt;/P&gt;&lt;P&gt;MODEL RICHARDS=X&lt;/P&gt;&lt;P&gt;MODEL WEIBULL=LNX;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2019 09:46:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/fit-nonlinear-regression-MODEL/m-p/608017#M17609</guid>
      <dc:creator>Joa14</dc:creator>
      <dc:date>2019-11-28T09:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: fit nonlinear regression MODEL</title>
      <link>https://communities.sas.com/t5/New-SAS-User/fit-nonlinear-regression-MODEL/m-p/608040#M17617</link>
      <description>&lt;P&gt;There is no equal sign in a DATA statement. DATA statements must end with a semi-colon. Assigning values must end with a semi-colon. Variables Y and X are never assigned a value. The number of open parentheses in a statement must equal the number of close parentheses in the statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also you can't fit a regression to this data, it has only one data point.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2019 14:57:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/fit-nonlinear-regression-MODEL/m-p/608040#M17617</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-11-28T14:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: fit nonlinear regression MODEL</title>
      <link>https://communities.sas.com/t5/New-SAS-User/fit-nonlinear-regression-MODEL/m-p/608103#M17623</link>
      <description>&lt;P&gt;Syntax should be:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;DATA ALL;
YMAX=61.0;
set mydata; /* dataset mydata contains X and Y variables */
LOGISTIC=LOG((YMAX/Y)-1);
GOMPERTZ=LOG(-LOG(Y/YMAX));
RICHARDS=LOG(1-(Y/YMAX));
WEIBULL=LOG(-LOG(1-(Y/YMAX)));
LNX=LOG(X);
RUN;

PROC REG DATA=ALL;
var X LNX LOGISTIC GOMPERTZ RICHARDS WEIBULL;
Logistic: MODEL LOGISTIC=X;
Gompertz: MODEL GOMPERTZ=X;
Richards: MODEL RICHARDS=X;
Weibull: MODEL WEIBULL=LNX;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;(untested)&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2019 18:51:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/fit-nonlinear-regression-MODEL/m-p/608103#M17623</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2019-11-28T18:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: fit nonlinear regression MODEL</title>
      <link>https://communities.sas.com/t5/New-SAS-User/fit-nonlinear-regression-MODEL/m-p/608106#M17626</link>
      <description>&lt;P&gt;Still needs to have open and close parentheses match.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2019 18:04:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/fit-nonlinear-regression-MODEL/m-p/608106#M17626</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-11-28T18:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: fit nonlinear regression MODEL</title>
      <link>https://communities.sas.com/t5/New-SAS-User/fit-nonlinear-regression-MODEL/m-p/608115#M17631</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;. I edited the code.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2019 18:53:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/fit-nonlinear-regression-MODEL/m-p/608115#M17631</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2019-11-28T18:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: fit nonlinear regression MODEL</title>
      <link>https://communities.sas.com/t5/New-SAS-User/fit-nonlinear-regression-MODEL/m-p/608144#M17635</link>
      <description>Thanks, PG. It is still not working but will keep trying.</description>
      <pubDate>Fri, 29 Nov 2019 00:35:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/fit-nonlinear-regression-MODEL/m-p/608144#M17635</guid>
      <dc:creator>Joa14</dc:creator>
      <dc:date>2019-11-29T00:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: fit nonlinear regression MODEL</title>
      <link>https://communities.sas.com/t5/New-SAS-User/fit-nonlinear-regression-MODEL/m-p/608145#M17636</link>
      <description>Thanks, PaigeMiller!</description>
      <pubDate>Fri, 29 Nov 2019 00:35:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/fit-nonlinear-regression-MODEL/m-p/608145#M17636</guid>
      <dc:creator>Joa14</dc:creator>
      <dc:date>2019-11-29T00:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: fit nonlinear regression MODEL</title>
      <link>https://communities.sas.com/t5/New-SAS-User/fit-nonlinear-regression-MODEL/m-p/608164#M17638</link>
      <description>&lt;P&gt;We would need to see the SAS log (the part showing the code and warnings/errors) to help you further.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2019 04:38:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/fit-nonlinear-regression-MODEL/m-p/608164#M17638</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2019-11-29T04:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: fit nonlinear regression MODEL</title>
      <link>https://communities.sas.com/t5/New-SAS-User/fit-nonlinear-regression-MODEL/m-p/608405#M17666</link>
      <description>&lt;DIV class="sasSource"&gt;&lt;DIV class="sasSource"&gt;100 PROC REG DATA=WORK.IMPORT;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;101 var X LNX LOGISTIC GOMPERTZ RICHARDS WEIBULL;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;102 Logistic: MODEL LOGISTIC=X;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;103 Gompertz: MODEL GOMPERTZ=X;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;104 Richards: MODEL RICHARDS=X;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;105 Weibull: MODEL WEIBULL=LNX;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;106 RUN;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR: No valid observations are found.&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR: No valid observations are found.&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR: No valid observations are found.&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR: No valid observations are found.&lt;/DIV&gt;&lt;PRE class="sasLog"&gt;&amp;nbsp;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Nov 2019 03:08:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/fit-nonlinear-regression-MODEL/m-p/608405#M17666</guid>
      <dc:creator>Joa14</dc:creator>
      <dc:date>2019-11-30T03:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: fit nonlinear regression MODEL</title>
      <link>https://communities.sas.com/t5/New-SAS-User/fit-nonlinear-regression-MODEL/m-p/608409#M17668</link>
      <description>&lt;P&gt;This message usually signals that all observations contain missing values. Please check the contents of dataset WORK.IMPORT.&lt;/P&gt;</description>
      <pubDate>Sat, 30 Nov 2019 03:37:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/fit-nonlinear-regression-MODEL/m-p/608409#M17668</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2019-11-30T03:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: fit nonlinear regression MODEL</title>
      <link>https://communities.sas.com/t5/New-SAS-User/fit-nonlinear-regression-MODEL/m-p/608410#M17669</link>
      <description>&lt;P&gt;It seems ok to me. The data xls. format is attached if you could check. It has DBH (X) and HT (Y).&lt;/P&gt;&lt;P&gt;I want to do this because my goal is to&amp;nbsp;use the modified logistic functions to fit the function to the data using three iteration methods available in PROC NLIN (GAUSS, MARQUARDT, and NEWTON). Then compare the parameter estimates, asymptotic standard errors for the parameters, and asymptotic correlations among the parameters for the three methods.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Nov 2019 03:49:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/fit-nonlinear-regression-MODEL/m-p/608410#M17669</guid>
      <dc:creator>Joa14</dc:creator>
      <dc:date>2019-11-30T03:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: fit nonlinear regression MODEL</title>
      <link>https://communities.sas.com/t5/New-SAS-User/fit-nonlinear-regression-MODEL/m-p/608437#M17673</link>
      <description>&lt;P&gt;When &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/462"&gt;@PGStats&lt;/a&gt; says check the data, he specifically means (and specifically stated) check the SAS data set you are using, specifically you need to look at WORK.IMPORT and see if everything is okay in there. The XLS file is irrelevant.&lt;/P&gt;</description>
      <pubDate>Sat, 30 Nov 2019 14:59:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/fit-nonlinear-regression-MODEL/m-p/608437#M17673</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-11-30T14:59:15Z</dc:date>
    </item>
  </channel>
</rss>

