<?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: How to use PROC NLMIXED with two levels of a fixed factor in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-PROC-NLMIXED-with-two-levels-of-a-fixed-factor/m-p/643294#M30806</link>
    <description>&lt;P&gt;Your code looks exactly like that found in the SAS/STAT 14.1 documentation for Example 82.4, so if you are comfortable with the model you have chosen to fit, I would say go ahead.&amp;nbsp; If you have execution time problems, consider rewriting the exponentiated term in the denominator as exp( -k * (Day - B)) with the proper subscripts for k and B.&amp;nbsp; One addition and one multiplication should run faster than one addition and two multiplications.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
    <pubDate>Mon, 27 Apr 2020 14:00:08 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2020-04-27T14:00:08Z</dc:date>
    <item>
      <title>How to use PROC NLMIXED with two levels of a fixed factor</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-PROC-NLMIXED-with-two-levels-of-a-fixed-factor/m-p/642758#M30798</link>
      <description>&lt;P&gt;Hi, I am trying to fit my uptake data to different models using PROC NLMIXED. However, I am a new user of NLMIXED and looking for a code that will help in differentiating the parameters of the two levels of fixed effect.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have two plants (Cabbage and grass) and will like to be able to estimate if parameter A for cabbage is different from parameter A of switchgrass. I have attached the code and will like to know if I am on the right track.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;title 'Logistic growth model  individual parameters for plants';
proc nlmixed data=uptake;
   parms A1=0.2 to 0.5 by 0.1 A2=0.2 to 0.5 by 0.1 B1=8 to 21 by 0.5 B2=8 to 21 by 0.5   k1=0.3 k2=0.3s2e=0.01528 s2u=0.01528;
   if Plant='Cabbage' then eta=(A1/(1+exp(-k1*Day+B1*k1)));
   else eta=(A2/(1+exp(-k2*Day+B2*k2)));
    p = eta;
   model Amount ~ normal(p,s2e);
   Estimate 'A1-A2' A1-A2;
    Estimate 'B1-B2' B1-B2;
   Estimate 'k1-k2' k1-k2;
   predict p out=uptakeout;
  run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 24 Apr 2020 19:03:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-PROC-NLMIXED-with-two-levels-of-a-fixed-factor/m-p/642758#M30798</guid>
      <dc:creator>Tessie</dc:creator>
      <dc:date>2020-04-24T19:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to use PROC NLMIXED with two levels of a fixed factor</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-PROC-NLMIXED-with-two-levels-of-a-fixed-factor/m-p/643294#M30806</link>
      <description>&lt;P&gt;Your code looks exactly like that found in the SAS/STAT 14.1 documentation for Example 82.4, so if you are comfortable with the model you have chosen to fit, I would say go ahead.&amp;nbsp; If you have execution time problems, consider rewriting the exponentiated term in the denominator as exp( -k * (Day - B)) with the proper subscripts for k and B.&amp;nbsp; One addition and one multiplication should run faster than one addition and two multiplications.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 14:00:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-PROC-NLMIXED-with-two-levels-of-a-fixed-factor/m-p/643294#M30806</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2020-04-27T14:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to use PROC NLMIXED with two levels of a fixed factor</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-PROC-NLMIXED-with-two-levels-of-a-fixed-factor/m-p/643444#M30828</link>
      <description>Thank you SteveDenham.</description>
      <pubDate>Tue, 28 Apr 2020 00:12:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-PROC-NLMIXED-with-two-levels-of-a-fixed-factor/m-p/643444#M30828</guid>
      <dc:creator>Tessie</dc:creator>
      <dc:date>2020-04-28T00:12:37Z</dc:date>
    </item>
  </channel>
</rss>

