<?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 find roots in SAS/IMl in SAS/IML Software and Matrix Computations</title>
    <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/find-roots-in-SAS-IMl/m-p/132598#M1075</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a function of two parameters alpha and beta, I found the MLEs for these two parameters. I have then to create a function of beta only which I need to solve&lt;/P&gt;&lt;P&gt;then use the result to find alpha.&amp;nbsp; I used bisection method to solve for beta. My problem is that the answer doesn't seem to be alright it always choose the upper limit i.e. every time I change the boundary&lt;/P&gt;&lt;P&gt;I get different solution (&amp;nbsp; if the interval (a=0.75, b=1.5) then the answer is 1.499999 and if&amp;nbsp; (a=0.75, b=1) then the answer is 0.99999 and so on. The MLE for the same problem using the same data set has been computed to be 0.9900573, and the true value=1 ). I can't plot the function using the lineplot because I have an old version of SAS, but I picked the (a,b) interval to be around the MLE which is known as I said from previous code. I highly appreciate any advice or suggestions.&lt;/P&gt;&lt;P&gt;my code is attached below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Sep 2013 20:42:53 GMT</pubDate>
    <dc:creator>Mazen</dc:creator>
    <dc:date>2013-09-09T20:42:53Z</dc:date>
    <item>
      <title>find roots in SAS/IMl</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/find-roots-in-SAS-IMl/m-p/132598#M1075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a function of two parameters alpha and beta, I found the MLEs for these two parameters. I have then to create a function of beta only which I need to solve&lt;/P&gt;&lt;P&gt;then use the result to find alpha.&amp;nbsp; I used bisection method to solve for beta. My problem is that the answer doesn't seem to be alright it always choose the upper limit i.e. every time I change the boundary&lt;/P&gt;&lt;P&gt;I get different solution (&amp;nbsp; if the interval (a=0.75, b=1.5) then the answer is 1.499999 and if&amp;nbsp; (a=0.75, b=1) then the answer is 0.99999 and so on. The MLE for the same problem using the same data set has been computed to be 0.9900573, and the true value=1 ). I can't plot the function using the lineplot because I have an old version of SAS, but I picked the (a,b) interval to be around the MLE which is known as I said from previous code. I highly appreciate any advice or suggestions.&lt;/P&gt;&lt;P&gt;my code is attached below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2013 20:42:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/find-roots-in-SAS-IMl/m-p/132598#M1075</guid>
      <dc:creator>Mazen</dc:creator>
      <dc:date>2013-09-09T20:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: find roots in SAS/IMl</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/find-roots-in-SAS-IMl/m-p/132599#M1076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your program, the target is 8. The function you are trying to find the root of is Func(B) = W(B) - target.&amp;nbsp; This function does not have a root on the interval.&amp;nbsp; Plot it and you will see that&amp;nbsp; Func(B) &amp;lt; 0 for all B &amp;gt; 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Func(B) does have a root near -2.5. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe&amp;nbsp; Func is implemented incorrectly, or you have specified the target incorrectly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 09:29:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/find-roots-in-SAS-IMl/m-p/132599#M1076</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2013-09-10T09:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: find roots in SAS/IMl</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/find-roots-in-SAS-IMl/m-p/132600#M1077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much Rick&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you were absolutely correct the target was incorrectly specified.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 15:58:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/find-roots-in-SAS-IMl/m-p/132600#M1077</guid>
      <dc:creator>Mazen</dc:creator>
      <dc:date>2013-09-10T15:58:21Z</dc:date>
    </item>
  </channel>
</rss>

