<?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 estimate simultaneously two or plus variables? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/How-to-estimate-simultaneously-two-or-plus-variables/m-p/92822#M26428</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This may seem naive, but it looks like there are 5 parameters to estimate, with three independent variables and one dependent variable.&amp;nbsp; Additionally, it appears, based on the subscripting, that this is a time series (indexing on t).&amp;nbsp; If you can assume independence (not likely), then PROC NLIN will enable you to fit the equation.&amp;nbsp; Something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc nlin data=a;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; parms lambda= delta= beta_0= beta_1= beta_2=;/* Provide starting values for each of the parameters */;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; exponent=beta_0 + beta_1*X1 + beta_2*X2;&lt;/P&gt;&lt;P&gt;&amp;nbsp; s = lambda * delta * P ** exponent;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; output out=b predicted=yp; &lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See if this works.&amp;nbsp; It does require multiple observations, probably at least 40, to get a decent fit.&amp;nbsp; Notice also that no matter what you do, lambda and delta will be completely confounded--only their product can be fit, unless there is some other constraint on one or the other.&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, 29 Jul 2013 17:46:21 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2013-07-29T17:46:21Z</dc:date>
    <item>
      <title>How to estimate simultaneously two or plus variables?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-estimate-simultaneously-two-or-plus-variables/m-p/92821#M26427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have to estimate the following model:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Model specification.jpg" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/3943_Model specification.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;How can I estimate simultaneously the three coefficients (delta, beta1 and beta2)? In this way, I am able to obtain an unique coefficient for all three variables.&lt;/P&gt;&lt;P&gt;I try to find any functions in PROC MODEL, but I don't get it.&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gabriele&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Jul 2013 18:53:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-estimate-simultaneously-two-or-plus-variables/m-p/92821#M26427</guid>
      <dc:creator>Gds88</dc:creator>
      <dc:date>2013-07-27T18:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to estimate simultaneously two or plus variables?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-estimate-simultaneously-two-or-plus-variables/m-p/92822#M26428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This may seem naive, but it looks like there are 5 parameters to estimate, with three independent variables and one dependent variable.&amp;nbsp; Additionally, it appears, based on the subscripting, that this is a time series (indexing on t).&amp;nbsp; If you can assume independence (not likely), then PROC NLIN will enable you to fit the equation.&amp;nbsp; Something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc nlin data=a;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; parms lambda= delta= beta_0= beta_1= beta_2=;/* Provide starting values for each of the parameters */;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; exponent=beta_0 + beta_1*X1 + beta_2*X2;&lt;/P&gt;&lt;P&gt;&amp;nbsp; s = lambda * delta * P ** exponent;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; output out=b predicted=yp; &lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See if this works.&amp;nbsp; It does require multiple observations, probably at least 40, to get a decent fit.&amp;nbsp; Notice also that no matter what you do, lambda and delta will be completely confounded--only their product can be fit, unless there is some other constraint on one or the other.&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, 29 Jul 2013 17:46:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-estimate-simultaneously-two-or-plus-variables/m-p/92822#M26428</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2013-07-29T17:46:21Z</dc:date>
    </item>
  </channel>
</rss>

