<?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: Calculating Std Dev for row percentages using Surveyfreq in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Calculating-Std-Dev-for-row-percentages-using-Surveyfreq/m-p/425001#M22352</link>
    <description>&lt;P&gt;Yup, adding CL solved it.&amp;nbsp; Lesson learned.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 04 Jan 2018 17:34:36 GMT</pubDate>
    <dc:creator>Ddormer</dc:creator>
    <dc:date>2018-01-04T17:34:36Z</dc:date>
    <item>
      <title>Calculating Std Dev for row percentages using Surveyfreq</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Calculating-Std-Dev-for-row-percentages-using-Surveyfreq/m-p/424950#M22347</link>
      <description>&lt;P&gt;I am using Surveyfreq for one-way and two-way tables.&amp;nbsp; I'm interested in the row percentages and particularly the standard deviation of those row percentages.&amp;nbsp; I have two issues/questions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1)&amp;nbsp; The documentation says the default columns are:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Frequency&lt;/LI&gt;&lt;LI&gt;Weighted frequency&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Standard deviation of weighted frequency&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Percent&lt;/LI&gt;&lt;LI&gt;Standard error of percent.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;(plus the additional columns for the Row option).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, instead of "Standard deviation of weighted frequency," I see "standard error of weighted frequency."&amp;nbsp; Why does my table show Std Err Wgt Freq instead of Std Dev Wgt Freq?&amp;nbsp; How do I get to the standard deviation?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2)&amp;nbsp; What option do I need to get to the standard deviation of the weighted row percentages?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are the relevant section of code and a sample of a table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;BR /&gt;Proc surveyfreq data=SCM_SORT;&lt;BR /&gt;	weight _LLCPWT; &lt;BR /&gt;	Tables _STATE*GHSTATUS/row chisq(secondorder);&lt;BR /&gt;	ODS Output CrossTabs=Freqout1;&lt;BR /&gt;	Format GHSTATUS status.;&lt;BR /&gt;run;&lt;/PRE&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="Surveyfreq table.JPG" style="width: 530px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/17647iDA615FDF2925C1A7/image-size/large?v=v2&amp;amp;px=999" role="button" title="Surveyfreq table.JPG" alt="Surveyfreq table.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for your assistance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2018 15:49:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Calculating-Std-Dev-for-row-percentages-using-Surveyfreq/m-p/424950#M22347</guid>
      <dc:creator>Ddormer</dc:creator>
      <dc:date>2018-01-04T15:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Std Dev for row percentages using Surveyfreq</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Calculating-Std-Dev-for-row-percentages-using-Surveyfreq/m-p/424961#M22349</link>
      <description>&lt;P&gt;Note that the documentation says:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;If you request a frequency or crosstabulation table &lt;FONT color="#ff0000"&gt;without specifying options&lt;/FONT&gt;, PROC SURVEYFREQ produces the following for each table level or cell:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since you include the options ROW and Chisq you are specifying options. Try adding the CL option and see if that helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sometimes you may need to run multiple procecure calls with different table options to get what you want.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2018 16:20:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Calculating-Std-Dev-for-row-percentages-using-Surveyfreq/m-p/424961#M22349</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-01-04T16:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Std Dev for row percentages using Surveyfreq</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Calculating-Std-Dev-for-row-percentages-using-Surveyfreq/m-p/425001#M22352</link>
      <description>&lt;P&gt;Yup, adding CL solved it.&amp;nbsp; Lesson learned.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2018 17:34:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Calculating-Std-Dev-for-row-percentages-using-Surveyfreq/m-p/425001#M22352</guid>
      <dc:creator>Ddormer</dc:creator>
      <dc:date>2018-01-04T17:34:36Z</dc:date>
    </item>
  </channel>
</rss>

