<?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: standard deviation of ROA with a rolling window of the past five years in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/standard-deviation-of-ROA-with-a-rolling-window-of-the-past-five/m-p/544160#M150483</link>
    <description>&lt;P&gt;What errors does the code generate?&lt;/P&gt;</description>
    <pubDate>Tue, 19 Mar 2019 06:54:26 GMT</pubDate>
    <dc:creator>PeterClemmensen</dc:creator>
    <dc:date>2019-03-19T06:54:26Z</dc:date>
    <item>
      <title>standard deviation of ROA with a rolling window of the past five years</title>
      <link>https://communities.sas.com/t5/SAS-Programming/standard-deviation-of-ROA-with-a-rolling-window-of-the-past-five/m-p/544157#M150481</link>
      <description>&lt;P&gt;Dear Madam/Sir,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to construct standard deviation of ROA with a rolling window of the past five years.&lt;/P&gt;&lt;P&gt;After referring several comments in this forum, I made the following command and had the error messages.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;sql&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;create&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;table&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; m24 &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;as&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;select&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; *, (std(a.roa) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;from&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; have &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;where&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; a.fyear between&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;a.fyear-&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;6&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;and&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; a.fyear-&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;1&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;and&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; a.gvkey) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;from&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; m23 &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;as&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; a;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;quit&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;Any of your help will be highly appreciated.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;Sincerely,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;Joon&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2019 05:24:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/standard-deviation-of-ROA-with-a-rolling-window-of-the-past-five/m-p/544157#M150481</guid>
      <dc:creator>joon1</dc:creator>
      <dc:date>2019-03-19T05:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: standard deviation of ROA with a rolling window of the past five years</title>
      <link>https://communities.sas.com/t5/SAS-Programming/standard-deviation-of-ROA-with-a-rolling-window-of-the-past-five/m-p/544160#M150483</link>
      <description>&lt;P&gt;What errors does the code generate?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2019 06:54:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/standard-deviation-of-ROA-with-a-rolling-window-of-the-past-five/m-p/544160#M150483</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2019-03-19T06:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: standard deviation of ROA with a rolling window of the past five years</title>
      <link>https://communities.sas.com/t5/SAS-Programming/standard-deviation-of-ROA-with-a-rolling-window-of-the-past-five/m-p/544249#M150500</link>
      <description>The error messages are as follows:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;proc sql;&lt;BR /&gt;&lt;BR /&gt;497 create table m24 as select *, (std(a.roa) from have where a.fyear&lt;BR /&gt;between&lt;BR /&gt;&lt;BR /&gt;----&lt;BR /&gt;&lt;BR /&gt;79&lt;BR /&gt;&lt;BR /&gt;498 a.fyear-6 and a.fyear-1 and a.gvkey) from m23 as a;&lt;BR /&gt;&lt;BR /&gt;-&lt;BR /&gt;&lt;BR /&gt;22&lt;BR /&gt;&lt;BR /&gt;76&lt;BR /&gt;&lt;BR /&gt;ERROR 79-322: Expecting a ).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ERROR 22-322: Syntax error, expecting one of the following: ;, !, !!, &amp;amp;, *,&lt;BR /&gt;**, +, -, /, &amp;lt;, &amp;lt;=,&lt;BR /&gt;&lt;BR /&gt;&amp;lt;&amp;gt;, =, &amp;gt;, &amp;gt;=, ?, AND, BETWEEN, CONTAINS, EQ, EQT, EXCEPT, GE,&lt;BR /&gt;GET, GROUP, GT, GTT,&lt;BR /&gt;&lt;BR /&gt;HAVING, IN, INTERSECT, IS, LE, LET, LIKE, LT, LTT, NE, NET,&lt;BR /&gt;NOT, NOTIN, OR, ORDER,&lt;BR /&gt;&lt;BR /&gt;OUTER, UNION, ^, ^=, |, ||, ~, ~=.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ERROR 76-322: Syntax error, statement will be ignored.&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Mar 2019 14:29:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/standard-deviation-of-ROA-with-a-rolling-window-of-the-past-five/m-p/544249#M150500</guid>
      <dc:creator>joon1</dc:creator>
      <dc:date>2019-03-19T14:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: standard deviation of ROA with a rolling window of the past five years</title>
      <link>https://communities.sas.com/t5/SAS-Programming/standard-deviation-of-ROA-with-a-rolling-window-of-the-past-five/m-p/544392#M150558</link>
      <description>&lt;P&gt;Please post LOG results in a code box opened using the forum's&amp;nbsp;{I} icon. As you can see the forum reformats text making the diagnostics from the error message move and making it very hard to read.&lt;/P&gt;
&lt;P&gt;Also it should cut down on the extra blank lines.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The underscore characters should appear under where SAS detects the error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2019 22:08:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/standard-deviation-of-ROA-with-a-rolling-window-of-the-past-five/m-p/544392#M150558</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-03-19T22:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: standard deviation of ROA with a rolling window of the past five years</title>
      <link>https://communities.sas.com/t5/SAS-Programming/standard-deviation-of-ROA-with-a-rolling-window-of-the-past-five/m-p/544594#M150612</link>
      <description>&lt;P&gt;Thank you so much for your response&lt;/P&gt;&lt;P&gt;I have attached the word file containing the error log. Your advice will be highly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Joon&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2019 14:52:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/standard-deviation-of-ROA-with-a-rolling-window-of-the-past-five/m-p/544594#M150612</guid>
      <dc:creator>joon1</dc:creator>
      <dc:date>2019-03-20T14:52:51Z</dc:date>
    </item>
  </channel>
</rss>

