<?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: How to calculate standard difference of 4-level predictor variables with aggregate data in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-standard-difference-of-4-level-predictor/m-p/868690#M343170</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/431660"&gt;@amrora&lt;/a&gt;&amp;nbsp;Please unmark your reply as correct. Your reply hasn't answered the question. The question should only be marked correct when there is a correct answer, and so when people do searches they can find answered questions.&lt;/P&gt;</description>
    <pubDate>Sat, 08 Apr 2023 10:02:16 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2023-04-08T10:02:16Z</dc:date>
    <item>
      <title>How to calculate standard difference of 4-level predictor variables with aggregate data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-standard-difference-of-4-level-predictor/m-p/868645#M343149</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have aggregate data (no person-level data; all numbers and percentages) including predictor variables with multiple levels (age in the screenshot below has 5 levels) across 3 levels of an outcome (n% across the top of the screen shot below). My mentor is asking me to calculate standard differences for each categorical predictor variable across 3 levels of the outcome (realizing that we'll have to compare 2 vs 1, and 3 vs 1; instead of 1 vs 2 vs 3). I see that to use proc psmatch, the predictor variables have to be binary (0/1), but I don't think I can do this with the aggregated data that I have.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know how I can calculate standard differences for categorical predictor variables as shown below?&amp;nbsp;&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="amrora_2-1680889311648.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/82418iC652056F65A4E198/image-size/medium?v=v2&amp;amp;px=400" role="button" title="amrora_2-1680889311648.png" alt="amrora_2-1680889311648.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance for your help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2023 20:02:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-standard-difference-of-4-level-predictor/m-p/868645#M343149</guid>
      <dc:creator>amrora</dc:creator>
      <dc:date>2023-04-07T20:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate standard difference of 4-level predictor variables with aggregate data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-standard-difference-of-4-level-predictor/m-p/868657#M343156</link>
      <description>&lt;P&gt;I'm afraid that I don't quite understand what that picture shows in relation to your question.&lt;/P&gt;
&lt;P&gt;I see 4 columns that have an N but your question talks about comparing 1 to 2 and 3. What about 4?&lt;/P&gt;
&lt;P&gt;I'm not even sure which are "categorical predictor variables" or what they predict.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2023 19:22:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-standard-difference-of-4-level-predictor/m-p/868657#M343156</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-04-07T19:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate standard difference of 4-level predictor variables with aggregate data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-standard-difference-of-4-level-predictor/m-p/868661#M343159</link>
      <description>&lt;P&gt;Hi, the pictures is the data I have to work with.&amp;nbsp;I have 4 categories of age (categorical predictor variable) across 3 categories of the outcome (n and % across the top of the table).&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2023 19:54:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-standard-difference-of-4-level-predictor/m-p/868661#M343159</guid>
      <dc:creator>amrora</dc:creator>
      <dc:date>2023-04-07T19:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate standard difference of 4-level predictor variables with aggregate data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-standard-difference-of-4-level-predictor/m-p/868669#M343163</link>
      <description>&lt;P&gt;And the picture shows &lt;STRONG&gt;5&lt;/STRONG&gt; age groups as rows. So further confused.&lt;/P&gt;
&lt;P&gt;You haven't even described which 3 columns might be the outcomes. If we have to guess at such things the results are likely to be suboptimal. If you are hiding something because it may be "sensitive" in some way then at least show something like "outcome a" "outcome b" "outcome c" so we have a chance getting the right values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I also am not sure what you mean by "standard difference". The definitions I find involving that sort of want a mean and standard deviation as part of the calculations and we have insufficient information if those are needed.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/431660"&gt;@amrora&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi, the pictures is the data I have to work with.&amp;nbsp;I have 4 categories of age (categorical predictor variable) across 3 categories of the outcome (n and % across the top of the table).&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2023 20:39:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-standard-difference-of-4-level-predictor/m-p/868669#M343163</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-04-07T20:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate standard difference of 4-level predictor variables with aggregate data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-standard-difference-of-4-level-predictor/m-p/868674#M343166</link>
      <description>I posted this is the wrong community. I need someone with more of a statistics background than a programming background.</description>
      <pubDate>Sat, 08 Apr 2023 03:31:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-standard-difference-of-4-level-predictor/m-p/868674#M343166</guid>
      <dc:creator>amrora</dc:creator>
      <dc:date>2023-04-08T03:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate standard difference of 4-level predictor variables with aggregate data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-standard-difference-of-4-level-predictor/m-p/868690#M343170</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/431660"&gt;@amrora&lt;/a&gt;&amp;nbsp;Please unmark your reply as correct. Your reply hasn't answered the question. The question should only be marked correct when there is a correct answer, and so when people do searches they can find answered questions.&lt;/P&gt;</description>
      <pubDate>Sat, 08 Apr 2023 10:02:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-standard-difference-of-4-level-predictor/m-p/868690#M343170</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-04-08T10:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate standard difference of 4-level predictor variables with aggregate data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-standard-difference-of-4-level-predictor/m-p/868696#M343171</link>
      <description>I reposted this is a different community but I don’t see a way to delete this one.</description>
      <pubDate>Sat, 08 Apr 2023 13:02:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-standard-difference-of-4-level-predictor/m-p/868696#M343171</guid>
      <dc:creator>amrora</dc:creator>
      <dc:date>2023-04-08T13:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate standard difference of 4-level predictor variables with aggregate data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-standard-difference-of-4-level-predictor/m-p/868709#M343174</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/431660"&gt;@amrora&lt;/a&gt;&amp;nbsp;You can't delete this thread ... only certain moderators can do that. But do things that will help us out. In this new thread, answer the questions we have already asked (specifically, &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt; has already asked). Don't make someone ask the questions again, just answer them. Add some more information that will answer those questions to that other thread in a reply post. Helping us out also helps you, because you will get faster and more likely correct answers.&lt;/P&gt;</description>
      <pubDate>Sat, 08 Apr 2023 19:08:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-standard-difference-of-4-level-predictor/m-p/868709#M343174</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-04-08T19:08:45Z</dc:date>
    </item>
  </channel>
</rss>

