<?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 Solve an Equation in SAS? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/How-to-Solve-an-Equation-in-SAS/m-p/50172#M13642</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh...., It's so sad to know this.&lt;/P&gt;&lt;P&gt;Well, thank you all the same.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Feb 2012 14:33:45 GMT</pubDate>
    <dc:creator>rpg163</dc:creator>
    <dc:date>2012-02-09T14:33:45Z</dc:date>
    <item>
      <title>How to Solve an Equation in SAS?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-Solve-an-Equation-in-SAS/m-p/50170#M13640</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 try to solve an Equation in SAS, as follows and &lt;EM style="text-decoration: underline;"&gt;&lt;STRONG&gt;re&lt;/STRONG&gt;&lt;/EM&gt; is what I need&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="1457" alt="1.jpg" class="jive-image-thumbnail jive-image" height="70" src="https://communities.sas.com/legacyfs/online/1457_1.jpg" width="781" /&gt;&lt;/P&gt;&lt;P&gt;and &lt;/P&gt;&lt;P&gt;B(t)=B(t-1)+(1-K)EPS(t)=B0+(1-K)EPS0*t&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I need to solve is &lt;EM style="text-decoration: underline;"&gt;&lt;STRONG&gt;re&lt;/STRONG&gt;&lt;/EM&gt;, with other variables already knew. &lt;/P&gt;&lt;P&gt;Anyone can tell me how to do it in SAS?&lt;/P&gt;&lt;P&gt;Many THX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW, this is an equation to calculate the equity cost of capital (GLS method)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 12:33:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-Solve-an-Equation-in-SAS/m-p/50170#M13640</guid>
      <dc:creator>rpg163</dc:creator>
      <dc:date>2012-02-09T12:33:36Z</dc:date>
    </item>
    <item>
      <title>How to Solve an Equation in SAS?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-Solve-an-Equation-in-SAS/m-p/50171#M13641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SAS is not an algebraic manipulation language.&amp;nbsp; You would generally need to re-write the formula to isolate &lt;STRONG style="text-decoration: underline;"&gt;re&lt;/STRONG&gt; on the left.&amp;nbsp; To directly manipulate an equation like this probably requires something like Wolfram's Mathematica.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doc Muhlbaier&lt;/P&gt;&lt;P&gt;Duke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 14:22:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-Solve-an-Equation-in-SAS/m-p/50171#M13641</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2012-02-09T14:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to Solve an Equation in SAS?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-Solve-an-Equation-in-SAS/m-p/50172#M13642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh...., It's so sad to know this.&lt;/P&gt;&lt;P&gt;Well, thank you all the same.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 14:33:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-Solve-an-Equation-in-SAS/m-p/50172#M13642</guid>
      <dc:creator>rpg163</dc:creator>
      <dc:date>2012-02-09T14:33:45Z</dc:date>
    </item>
    <item>
      <title>How to Solve an Equation in SAS?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-Solve-an-Equation-in-SAS/m-p/50173#M13643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hold on. I thought the poster wants a numerical solution for this nonlinear system of equations. Write the expression on the left as F_t(R_e). Then the problem is solving the system &lt;/P&gt;&lt;P&gt;F_t(R_e) = P_t for t=1..T.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now presumably there is no value of R_e that solves this exactly for all measured values of the data, so you want to find the value of R_e that best fits the data according to some criterion (for example, least squares).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems like you can solve this problem in SAS. Maybe PROC MODEL? If not, please explain what I'm missing,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 14:43:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-Solve-an-Equation-in-SAS/m-p/50173#M13643</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2012-02-09T14:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to Solve an Equation in SAS?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-Solve-an-Equation-in-SAS/m-p/50174#M13644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are right.&lt;/P&gt;&lt;P&gt;Actually, I tried PROC MODEL, and this is my code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc model data=test noprint;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; by stkcd;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENDOGENOUS re; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fit&amp;nbsp;&amp;nbsp;&amp;nbsp; price=BPS+BPS*(ROE1-re)/(1+re)+BPS1*(ROE2-re)/((1+re)**2)+BPS2*(ROE3-re)/((1+re)**3);&amp;nbsp; /* just for test, some items are not included*/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; solve re / out=asd;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this does not work.&lt;/P&gt;&lt;P&gt;The log info shows, there is problem with"fit" and &lt;/P&gt;&lt;P&gt;;, /, DROP, INIT, INITIAL, KEEP, PARMS, START, _ALL_, _CHARACTER_, _CHAR_, _NUMERIC_.&amp;nbsp; are expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, it's my first time to use proc model, and I really get confused on this procedure.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 15:44:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-Solve-an-Equation-in-SAS/m-p/50174#M13644</guid>
      <dc:creator>rpg163</dc:creator>
      <dc:date>2012-02-09T15:44:46Z</dc:date>
    </item>
  </channel>
</rss>

