<?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: Substract the average of a column from all datasets of the column in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Substract-the-average-of-a-column-from-all-datasets-of-the/m-p/825200#M16252</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;thanks for your answer. But does that mean that the calculation is not possible only using SAS VA?&lt;/P&gt;</description>
    <pubDate>Mon, 25 Jul 2022 09:35:49 GMT</pubDate>
    <dc:creator>Yanoothan</dc:creator>
    <dc:date>2022-07-25T09:35:49Z</dc:date>
    <item>
      <title>Substract the average of a column from all datasets of the column</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Substract-the-average-of-a-column-from-all-datasets-of-the/m-p/825070#M16249</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a column named 'He_abs'&amp;nbsp;with different datasets. I want to calculate the average of all dataset values of the column and then substract the average from all the dataset values in SAS VA.&lt;/P&gt;&lt;P&gt;Therefor I tried to create a calculated item with the expression 'He_abs' - Avg [_ForAll_] ('He_abs').&lt;/P&gt;&lt;P&gt;That does not work and i get the warnings 'element can't be aggregated' and 'operator does not support aggregation'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I perform the calculation in SAS VA?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2022-07-23 16_51_43-Greenshot.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/73653i37D0F5EDD4A7C2FD/image-size/large?v=v2&amp;amp;px=999" role="button" title="2022-07-23 16_51_43-Greenshot.png" alt="2022-07-23 16_51_43-Greenshot.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jul 2022 14:57:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Substract-the-average-of-a-column-from-all-datasets-of-the/m-p/825070#M16249</guid>
      <dc:creator>Yanoothan</dc:creator>
      <dc:date>2022-07-23T14:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: Substract the average of a column from all datasets of the column</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Substract-the-average-of-a-column-from-all-datasets-of-the/m-p/825186#M16250</link>
      <description>&lt;P&gt;If you have licenced Visual Statistics then use a GLM to have a dummy model for predicting the mean.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Probabably you have to create a dummy character variable to use an overall effect.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then use the variable of interest as target and the dummy variable as classifiaction effect.&lt;/P&gt;
&lt;P&gt;Once the model has finished, derive predicted, that's your grand mean you can use in a calculated item 'x-y'.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2022 08:25:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Substract-the-average-of-a-column-from-all-datasets-of-the/m-p/825186#M16250</guid>
      <dc:creator>acordes</dc:creator>
      <dc:date>2022-07-25T08:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: Substract the average of a column from all datasets of the column</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Substract-the-average-of-a-column-from-all-datasets-of-the/m-p/825200#M16252</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;thanks for your answer. But does that mean that the calculation is not possible only using SAS VA?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2022 09:35:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Substract-the-average-of-a-column-from-all-datasets-of-the/m-p/825200#M16252</guid>
      <dc:creator>Yanoothan</dc:creator>
      <dc:date>2022-07-25T09:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: Substract the average of a column from all datasets of the column</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Substract-the-average-of-a-column-from-all-datasets-of-the/m-p/825201#M16253</link>
      <description>&lt;P&gt;You can do it in Visual Analytics.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What I recommend goes for Visual Analytics.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can achieve this as well by creating an aggregated data source. You first create an aggregated item like mean by total.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then aggregate the data source. This way it's easier to deal with it because now the grand total mean becomes a scalar value.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2022 09:44:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Substract-the-average-of-a-column-from-all-datasets-of-the/m-p/825201#M16253</guid>
      <dc:creator>acordes</dc:creator>
      <dc:date>2022-07-25T09:44:41Z</dc:date>
    </item>
  </channel>
</rss>

