<?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: Mean-differencing a Series in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Mean-differencing-a-Series/m-p/51716#M14205</link>
    <description>Suggest searching the SAS support   &lt;A href="http://support.sas.com/" target="_blank"&gt;http://support.sas.com/&lt;/A&gt;  using the website SEARCH facility or possibly using a Google advanced search argument (sample below):&lt;BR /&gt;
&lt;BR /&gt;
mean difference site:sas.com&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
    <pubDate>Tue, 07 Jul 2009 13:13:36 GMT</pubDate>
    <dc:creator>sbb</dc:creator>
    <dc:date>2009-07-07T13:13:36Z</dc:date>
    <item>
      <title>Mean-differencing a Series</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Mean-differencing-a-Series/m-p/51715#M14204</link>
      <description>Greetings:&lt;BR /&gt;
&lt;BR /&gt;
Is there a simple solution to calculate mean difference? That is, if I have series, say, X = x1, ..., xn. I can calculate difference of two values defining  a new variable as:&lt;BR /&gt;
&lt;BR /&gt;
d_X = dif(X);&lt;BR /&gt;
&lt;BR /&gt;
What if I want to calculate the difference of each observation from the mean of the series? Is there a simple way to do this instead of calculating the mean and then subtracting it from each observation? That is, say,:&lt;BR /&gt;
&lt;BR /&gt;
d_mX = (X - mean(X));&lt;BR /&gt;
&lt;BR /&gt;
I am sure there is one, I just cannot find the command. (By the way, "meandif" is not a valid command for this.)&lt;BR /&gt;
&lt;BR /&gt;
I appreciate your help.&lt;BR /&gt;
&lt;BR /&gt;
Best,&lt;BR /&gt;
&lt;BR /&gt;
Mitu

Message was edited by: ashraf</description>
      <pubDate>Tue, 07 Jul 2009 02:57:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Mean-differencing-a-Series/m-p/51715#M14204</guid>
      <dc:creator>ashraf</dc:creator>
      <dc:date>2009-07-07T02:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: Mean-differencing a Series</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Mean-differencing-a-Series/m-p/51716#M14205</link>
      <description>Suggest searching the SAS support   &lt;A href="http://support.sas.com/" target="_blank"&gt;http://support.sas.com/&lt;/A&gt;  using the website SEARCH facility or possibly using a Google advanced search argument (sample below):&lt;BR /&gt;
&lt;BR /&gt;
mean difference site:sas.com&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Tue, 07 Jul 2009 13:13:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Mean-differencing-a-Series/m-p/51716#M14205</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-07-07T13:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: Mean-differencing a Series</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Mean-differencing-a-Series/m-p/51717#M14206</link>
      <description>Thanks Scott. One solution that I found late last night was STDIZE procedure. &lt;BR /&gt;
&lt;BR /&gt;
Mitu</description>
      <pubDate>Tue, 07 Jul 2009 15:47:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Mean-differencing-a-Series/m-p/51717#M14206</guid>
      <dc:creator>ashraf</dc:creator>
      <dc:date>2009-07-07T15:47:23Z</dc:date>
    </item>
  </channel>
</rss>

