<?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 NLMIXED maximum likelihood.. please help in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-NLMIXED-maximum-likelihood-please-help/m-p/177604#M9214</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The simple answer is YES.&amp;nbsp; That is the likelihood function with all of the definitions you present.&amp;nbsp; Check the SAS-L archives for posts on NLMIXED by David Cassell, Dale McLerran and several others.&amp;nbsp; There should be code there that will deal with this as needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Apr 2014 15:05:52 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2014-04-14T15:05:52Z</dc:date>
    <item>
      <title>Proc NLMIXED maximum likelihood.. please help</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-NLMIXED-maximum-likelihood-please-help/m-p/177603#M9213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am carrying out a non-linear model with NLMIXED and I am aware that it finds the parameter estimates which maximise the likelihood fn. But what is the likelihood function? I have assumed the residuals are normally distributed, and the code is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc nlmixed;&lt;/P&gt;&lt;P&gt;parms &lt;/P&gt;&lt;P&gt;ED50&amp;nbsp; 5 to 250 by 5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Emax&amp;nbsp; -2 to -1&amp;nbsp; by 0.1 &lt;/P&gt;&lt;P&gt;V&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;BETA0 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;s 1;&lt;/P&gt;&lt;P&gt;pred = (x* (Beta0)) +&amp;nbsp; (y**s * Emax) / ( y**s + ED50**s ); &lt;/P&gt;&lt;P&gt;model R ~ normal( pred, V);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where R is the response, x and y are explanatory variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I believe I'm modelling R= (x* (Beta0)) +&amp;nbsp; (y**s * Emax) / ( y**s + ED50**s )&amp;nbsp; and the errors are normal with the variance V.&lt;/P&gt;&lt;P&gt;Proc NLMIXED finds the parameters that maximise the likelihood fn, so what is this function? &lt;/P&gt;&lt;P&gt;Is it &lt;IMG alt="((2pi)^(-n/2))/(sigma^n)exp[-(sum(x_i-mu)^2)/(2sigma^2)]" border="0" class="displayformula jiveImage" height="42" src="http://mathworld.wolfram.com/images/equations/MaximumLikelihood/Inline22.gif" style="color: #000000; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;" width="160" /&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;where mu=(x* (Beta0)) +&amp;nbsp; (y**s * Emax) / ( y**s + ED50**s )&amp;nbsp;&amp;nbsp; and sigma^2=V?&lt;/P&gt;&lt;P&gt;IE the ML fn for the normal dist, with the model as mu?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help, I am very confused&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;xxx;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Apr 2014 10:31:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-NLMIXED-maximum-likelihood-please-help/m-p/177603#M9213</guid>
      <dc:creator>katiexyz</dc:creator>
      <dc:date>2014-04-12T10:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: Proc NLMIXED maximum likelihood.. please help</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-NLMIXED-maximum-likelihood-please-help/m-p/177604#M9214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The simple answer is YES.&amp;nbsp; That is the likelihood function with all of the definitions you present.&amp;nbsp; Check the SAS-L archives for posts on NLMIXED by David Cassell, Dale McLerran and several others.&amp;nbsp; There should be code there that will deal with this as needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 15:05:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-NLMIXED-maximum-likelihood-please-help/m-p/177604#M9214</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2014-04-14T15:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: Proc NLMIXED maximum likelihood.. please help</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-NLMIXED-maximum-likelihood-please-help/m-p/177605#M9215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wrote a &lt;A href="http://blogs.sas.com/content/iml/2011/10/12/maximum-likelihood-estimation-in-sasiml/"&gt;brief discussion of (univariate) MLE&lt;/A&gt; that includes code and an example. The regression approach is similar with mu replaced by the linear predictor. You should definitely check out the &lt;A href="http://support.sas.com/documentation/cdl/en/statug/63962/HTML/default/viewer.htm#statug_genmod_sect037.htm"&gt;discussion with formulas in the PROC GENMOD documentation&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 12:45:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-NLMIXED-maximum-likelihood-please-help/m-p/177605#M9215</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2014-04-16T12:45:33Z</dc:date>
    </item>
  </channel>
</rss>

