<?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: proc expand-calculate new variables in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/proc-expand-calculate-new-variables/m-p/858902#M339362</link>
    <description>&lt;P&gt;Show us the output you get. Explain exactly what parts of the output you do not understand.&lt;/P&gt;</description>
    <pubDate>Wed, 15 Feb 2023 11:20:48 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2023-02-15T11:20:48Z</dc:date>
    <item>
      <title>proc expand-calculate new variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-expand-calculate-new-variables/m-p/858879#M339354</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;I want to ask please what exactly this transformation do?&lt;/P&gt;
&lt;P&gt;&lt;CODE class=" language-sas"&gt;convert X=Cum_X/transformout=(cusum 5);&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE class=" language-sas"&gt;I&amp;nbsp;am&amp;nbsp;trying&amp;nbsp;to&amp;nbsp;understand&amp;nbsp;the&amp;nbsp;calculation&amp;nbsp;but&amp;nbsp;didn't&amp;nbsp;understand&amp;nbsp;the&amp;nbsp;calculated&amp;nbsp;values.&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE class=" language-sas"&gt;May&amp;nbsp;anyone&amp;nbsp;help&amp;nbsp;please to understand the calculation of the cumulative sum?&lt;/CODE&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
data have;
input  X;
cards;
0
3
0
1
0
0
5
0
0
0
1
1
2
;
run;


proc expand data=have out=want method=none;
convert X=Cum_X/transformout=(cusum 5);
Run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;e&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2023 07:34:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-expand-calculate-new-variables/m-p/858879#M339354</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2023-02-15T07:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: proc expand-calculate new variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-expand-calculate-new-variables/m-p/858902#M339362</link>
      <description>&lt;P&gt;Show us the output you get. Explain exactly what parts of the output you do not understand.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2023 11:20:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-expand-calculate-new-variables/m-p/858902#M339362</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-02-15T11:20:48Z</dc:date>
    </item>
  </channel>
</rss>

