<?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 How to find standard error of weighted frequency in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-find-standard-error-of-weighted-frequency/m-p/549782#M152604</link>
    <description>&lt;P&gt;I want to get the standard error of the weighted frequency from PROC SURVEYFREQ but am only seeing the standard deviations by default. Below is sample code I'm using. How would I get this to pull SE? I'm using SAS 9.4.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;PROC SURVEYFREQ DATA=mydata;&lt;BR /&gt;TABLES state*gender / ROW;&lt;BR /&gt;WHERE year=2013 AND state IN (14,15,16,20,3,21);&lt;BR /&gt;WEIGHT mywgt;&lt;BR /&gt;RUN;&lt;/P&gt;</description>
    <pubDate>Tue, 09 Apr 2019 19:44:07 GMT</pubDate>
    <dc:creator>johnsonemilyk</dc:creator>
    <dc:date>2019-04-09T19:44:07Z</dc:date>
    <item>
      <title>How to find standard error of weighted frequency</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-find-standard-error-of-weighted-frequency/m-p/549782#M152604</link>
      <description>&lt;P&gt;I want to get the standard error of the weighted frequency from PROC SURVEYFREQ but am only seeing the standard deviations by default. Below is sample code I'm using. How would I get this to pull SE? I'm using SAS 9.4.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;PROC SURVEYFREQ DATA=mydata;&lt;BR /&gt;TABLES state*gender / ROW;&lt;BR /&gt;WHERE year=2013 AND state IN (14,15,16,20,3,21);&lt;BR /&gt;WEIGHT mywgt;&lt;BR /&gt;RUN;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2019 19:44:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-find-standard-error-of-weighted-frequency/m-p/549782#M152604</guid>
      <dc:creator>johnsonemilyk</dc:creator>
      <dc:date>2019-04-09T19:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to find standard error of weighted frequency</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-find-standard-error-of-weighted-frequency/m-p/549823#M152616</link>
      <description>&lt;P&gt;You may either be misreading the column headings or your data has something odd going on. I don't have your data but when I run this:&lt;/P&gt;
&lt;PRE&gt;proc surveyfreq data=sashelp.class;
   tables  sex*age /row; 
   weight  height;
run;&lt;/PRE&gt;
&lt;P&gt;the output includes a column for Weighted Frequency and "Std Err of Wgt Freq", which is what you are requesting. It also has Std Err of Percent and Std Err of Row Percent. If you added a COLUMN option you would get a Std Err of Col Percent as well.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2019 23:25:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-find-standard-error-of-weighted-frequency/m-p/549823#M152616</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-04-09T23:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to find standard error of weighted frequency</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-find-standard-error-of-weighted-frequency/m-p/549974#M152672</link>
      <description>&lt;P&gt;Thank you so much for responding! I'm not sure what's happening, but when I run the same code on the "class" data set, I still get the same headers (see attached image) - so it provides the standard errors for percents and row percents, but only the SD for the actual frequency. Any ideas what might be going on here?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2019 14:23:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-find-standard-error-of-weighted-frequency/m-p/549974#M152672</guid>
      <dc:creator>johnsonemilyk</dc:creator>
      <dc:date>2019-04-10T14:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to find standard error of weighted frequency</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-find-standard-error-of-weighted-frequency/m-p/550424#M152817</link>
      <description>&lt;P&gt;This column heading was "Std Dev" in older releases.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It was changed (from "Std Dev" to "Std Err") in PROC SURVEYMEANS and PROC SURVEYFREQ in release 14.1. The (former) "Std Dev" was referring to the standard error of the sum (not the estimated population standard deviation). Changed to clarify this.&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There's some information in&lt;/P&gt;
&lt;P&gt;Usage Note 5921: A discussion of standard errors and standard deviations in the SURVEYMEANS procedure&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/kb/59/251.html" target="_blank"&gt;http://support.sas.com/kb/59/251.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Only the column heading changed; the computation is the same.&lt;/P&gt;
&lt;P&gt;Documentation is here (SURVEYFREQ):&lt;/P&gt;
&lt;P&gt;&lt;A href="https://go.documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_surveyfreq_details36.htm&amp;amp;docsetVersion=15.1&amp;amp;locale=en"&gt;https://go.documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_surveyfreq_details36.htm&amp;amp;docsetVersion=15.1&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;and here (SURVEYMEANS):&lt;/P&gt;
&lt;P&gt;&lt;A href="https://go.documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_surveymeans_details06.htm&amp;amp;docsetVersion=15.1&amp;amp;locale=en#statug.surveymeans.vartotaldetails"&gt;https://go.documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_surveymeans_details06.htm&amp;amp;docsetVersion=15.1&amp;amp;locale=en#statug.surveymeans.vartotaldetails&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2019 20:59:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-find-standard-error-of-weighted-frequency/m-p/550424#M152817</guid>
      <dc:creator>Watts</dc:creator>
      <dc:date>2019-04-11T20:59:00Z</dc:date>
    </item>
  </channel>
</rss>

