<?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: Defining a very long parameter vector in SAS/IML Software and Matrix Computations</title>
    <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Defining-a-very-long-parameter-vector/m-p/148600#M1281</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dr. Wicklin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have read your blog. You use the following statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mu = param[1];&lt;/P&gt;&lt;P&gt;to indicate that mu is a parameter. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to estimate many parameters. Do I need to define each of them as you define mu?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Feb 2015 14:17:39 GMT</pubDate>
    <dc:creator>Hanyu</dc:creator>
    <dc:date>2015-02-02T14:17:39Z</dc:date>
    <item>
      <title>Defining a very long parameter vector</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Defining-a-very-long-parameter-vector/m-p/148598#M1279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a very large system that has more than 100 parameters. I need to write a module to compute the value of the likelihood function. The first step is to define the parameter vector. Usually parameter is defined as a=parm[1];b=parm[2]. But if I define each parameter like that, it would take too long. I want to follow some rule to define the parameter vector, e.g. according to the data of the company name(microsoft apple sas...). Could any body give me a hint? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 11:13:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Defining-a-very-long-parameter-vector/m-p/148598#M1279</guid>
      <dc:creator>Hanyu</dc:creator>
      <dc:date>2015-02-02T11:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: Defining a very long parameter vector</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Defining-a-very-long-parameter-vector/m-p/148599#M1280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In MLE problems, the data are not parameters in the optimization, they are fixed values. You can read them into a variable called X and then use the GLOBAL statement to enable the objective function to use those values in the MLE computation. See the article &lt;A href="http://blogs.sas.com/content/iml/2011/10/12/maximum-likelihood-estimation-in-sasiml/" title="http://blogs.sas.com/content/iml/2011/10/12/maximum-likelihood-estimation-in-sasiml/"&gt;http://blogs.sas.com/content/iml/2011/10/12/maximum-likelihood-estimation-in-sasiml/&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 14:00:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Defining-a-very-long-parameter-vector/m-p/148599#M1280</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2015-02-02T14:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: Defining a very long parameter vector</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Defining-a-very-long-parameter-vector/m-p/148600#M1281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dr. Wicklin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have read your blog. You use the following statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mu = param[1];&lt;/P&gt;&lt;P&gt;to indicate that mu is a parameter. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to estimate many parameters. Do I need to define each of them as you define mu?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 14:17:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Defining-a-very-long-parameter-vector/m-p/148600#M1281</guid>
      <dc:creator>Hanyu</dc:creator>
      <dc:date>2015-02-02T14:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: Defining a very long parameter vector</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Defining-a-very-long-parameter-vector/m-p/148601#M1282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The parameters to be optimized are passed in as an argument to the objective function. These values represent the parameters in the model that are to be fit to the data. Most models have fewer than a dozen parameters.&amp;nbsp; You can copy these values to local variables, such as mu=param[1], but you can also use the param vector directly in the MLE equations, such as SUM(param) or SSQ(param) or MEAN(param).&amp;nbsp; So no, you do not have to copy them to a local variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data are fixed. The data values are not to be optimized, so the data vector is sent in as a GLOBAL variable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 14:37:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Defining-a-very-long-parameter-vector/m-p/148601#M1282</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2015-02-02T14:37:08Z</dc:date>
    </item>
  </channel>
</rss>

