<?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: Centering variables in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Centering-variables/m-p/172836#M44522</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This can be easily done using double do-loops. No procedure is needed. It is just adding the values of the variable with simultaneous count in the first do-loop and finding the deviations&lt;/P&gt;&lt;P&gt;from the mean in the second do-loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am unable to read your attached data set because of version difference. If you are interested, show a sample data in a readable form like datalines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best of luck.&lt;/P&gt;&lt;P&gt;Muthia Kachirayan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Oct 2014 06:16:15 GMT</pubDate>
    <dc:creator>KachiM</dc:creator>
    <dc:date>2014-10-06T06:16:15Z</dc:date>
    <item>
      <title>Centering variables</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Centering-variables/m-p/172835#M44521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could I get some help on how to create centered values of variables in a dataset? In the attached example I'd like to calculate the grand mean for score1 and score2 and then subtract each value of score1 and score2 from their corresponding grand mean. I need to do this on a grand scale for many variables so I suppose it's an exercise in how to merge the raw data with the grand means of each variable. Or, is there a statistical procedure that can do it?&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2014 05:15:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Centering-variables/m-p/172835#M44521</guid>
      <dc:creator>PTD_SAS</dc:creator>
      <dc:date>2014-10-06T05:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: Centering variables</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Centering-variables/m-p/172836#M44522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This can be easily done using double do-loops. No procedure is needed. It is just adding the values of the variable with simultaneous count in the first do-loop and finding the deviations&lt;/P&gt;&lt;P&gt;from the mean in the second do-loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am unable to read your attached data set because of version difference. If you are interested, show a sample data in a readable form like datalines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best of luck.&lt;/P&gt;&lt;P&gt;Muthia Kachirayan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2014 06:16:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Centering-variables/m-p/172836#M44522</guid>
      <dc:creator>KachiM</dc:creator>
      <dc:date>2014-10-06T06:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: Centering variables</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Centering-variables/m-p/172837#M44523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There's a proc for that :-), Look up proc standardize and stdize&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: in your case you want stdize with method= mean. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2014 06:42:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Centering-variables/m-p/172837#M44523</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-10-06T06:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: Centering variables</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Centering-variables/m-p/172838#M44524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Reeza, saved me a lot of time!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2014 23:41:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Centering-variables/m-p/172838#M44524</guid>
      <dc:creator>PTD_SAS</dc:creator>
      <dc:date>2014-10-06T23:41:27Z</dc:date>
    </item>
  </channel>
</rss>

