<?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: LSMEANS equivalent when using PROC SURVEYFREQ? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/LSMEANS-equivalent-when-using-PROC-SURVEYFREQ/m-p/831994#M41204</link>
    <description>&lt;P&gt;Thank you, I think I did read about this " compprop" macro elsewhere on the internet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 06 Sep 2022 17:25:00 GMT</pubDate>
    <dc:creator>icipeb</dc:creator>
    <dc:date>2022-09-06T17:25:00Z</dc:date>
    <item>
      <title>LSMEANS equivalent when using PROC SURVEYFREQ?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/LSMEANS-equivalent-when-using-PROC-SURVEYFREQ/m-p/831989#M41200</link>
      <description>&lt;P&gt;Good day,&lt;/P&gt;&lt;P&gt;I am analyzing what variables could impact one making a decision (yes or no) based on data from a complex survey design.&lt;/P&gt;&lt;P&gt;Using PROC SURVEYLOGISTIC and the LSMEANS statement, I am able to see if the proportion of people making a Yes decision is statistically different between, let's say, age groups.&lt;/P&gt;&lt;P&gt;The fact that LSMEANS assess all possible combinations (say differences between toddlers to teenagers then toddlers to adults, then teenagers to adults, etc.) is very helpful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to do the same using PROC SURVEYFREQ ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know, using TABLE and / chisq, I can determine if a variable, say age, has an impact but I cannot tell if there is a significant difference between the various age groups.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help and suggestions!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Erik&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 17:09:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/LSMEANS-equivalent-when-using-PROC-SURVEYFREQ/m-p/831989#M41200</guid>
      <dc:creator>icipeb</dc:creator>
      <dc:date>2022-09-06T17:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: LSMEANS equivalent when using PROC SURVEYFREQ?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/LSMEANS-equivalent-when-using-PROC-SURVEYFREQ/m-p/831990#M41201</link>
      <description>&lt;P&gt;LSMEANS only makes sense (to me) in modeling procedures, such as SURVEYLOGISTIC and SURVEYREG.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Its not in SURVEYFREQ because this is not a modeling procedure, and LSMEANS doesn't seem to make any sense here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What you are asking about, comparing all combinations to one another, in theory can be done in frequency procedures (actually comparing percentages in each cell to other cells), but I don't think SAS does it directly. Here is a paper which contains a macro that does this testing in SAS:&amp;nbsp;&lt;A href="https://support.sas.com/resources/papers/proceedings/proceedings/sugi31/204-31.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings/proceedings/sugi31/204-31.pdf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 17:17:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/LSMEANS-equivalent-when-using-PROC-SURVEYFREQ/m-p/831990#M41201</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-09-06T17:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: LSMEANS equivalent when using PROC SURVEYFREQ?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/LSMEANS-equivalent-when-using-PROC-SURVEYFREQ/m-p/831991#M41202</link>
      <description>&lt;P&gt;Fair enough.&lt;/P&gt;&lt;P&gt;How would you go about comparing a series of means/proportions in the scenario I presented?&lt;/P&gt;&lt;P&gt;Erik&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 17:16:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/LSMEANS-equivalent-when-using-PROC-SURVEYFREQ/m-p/831991#M41202</guid>
      <dc:creator>icipeb</dc:creator>
      <dc:date>2022-09-06T17:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: LSMEANS equivalent when using PROC SURVEYFREQ?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/LSMEANS-equivalent-when-using-PROC-SURVEYFREQ/m-p/831992#M41203</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/427696"&gt;@icipeb&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Fair enough.&lt;/P&gt;
&lt;P&gt;How would you go about comparing a series of means/proportions in the scenario I presented?&lt;/P&gt;
&lt;P&gt;Erik&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Modified my original post.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 17:17:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/LSMEANS-equivalent-when-using-PROC-SURVEYFREQ/m-p/831992#M41203</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-09-06T17:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: LSMEANS equivalent when using PROC SURVEYFREQ?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/LSMEANS-equivalent-when-using-PROC-SURVEYFREQ/m-p/831994#M41204</link>
      <description>&lt;P&gt;Thank you, I think I did read about this " compprop" macro elsewhere on the internet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 17:25:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/LSMEANS-equivalent-when-using-PROC-SURVEYFREQ/m-p/831994#M41204</guid>
      <dc:creator>icipeb</dc:creator>
      <dc:date>2022-09-06T17:25:00Z</dc:date>
    </item>
  </channel>
</rss>

