<?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 proc survey mean, standard deviation of square root in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/proc-survey-mean-standard-deviation-of-square-root/m-p/331617#M74553</link>
    <description>&lt;P&gt;I am somewhat new to survey analysis. I am&amp;nbsp;running a code for survey sample and want to report the standard deviation, I am getting this big numbers in comparison to an unweighted code, I am pretty sure is something easy I am not looking at,can anyone help?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc means data=ms19.ms19 MEAN STD STDERR ALPHA=0.05 CLM;;&lt;BR /&gt;VAR AGE;&lt;BR /&gt;RUN ;&lt;/P&gt;&lt;P&gt;SAS Output&lt;/P&gt;&lt;DIV class="branch"&gt;&lt;DIV&gt;&lt;DIV align="center"&gt;Analysis Variable : AGE Age Mean Std Dev Std Error Lower 95%&lt;BR /&gt;CL for Mean Upper 95%&lt;BR /&gt;CL for Mean &lt;TABLE cellspacing="0" cellpadding="5"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;45.8475175&lt;/TD&gt;&lt;TD&gt;13.9318244&lt;/TD&gt;&lt;TD&gt;0.1087396&lt;/TD&gt;&lt;TD&gt;45.6343762&lt;/TD&gt;&lt;TD&gt;46.0606588&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;proc surveymeans data=ms19.ms19 MEAN RMSSTD STDERR ALPHA=0.05 CLM;&lt;BR /&gt;strata strat; cluster PSU_ID; weight WEIGHT_PA_IPW_OVERALL;&lt;BR /&gt;var AGE;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;SAS Output&lt;/P&gt;&lt;P&gt;SAS Output&lt;/P&gt;&lt;DIV class="branch"&gt;&lt;DIV&gt;&lt;DIV align="center"&gt;Data Summary Number of Strata Number of Clusters Number of Observations Sum of Weights &lt;TABLE cellspacing="0" cellpadding="5"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;664&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;16415&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;23413.2548&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;DIV align="center"&gt;Statistics Variable Label Mean Std Error of Mean 95% CL for Mean Std Dev AGE &lt;TABLE cellspacing="0" cellpadding="5"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Age&lt;/TD&gt;&lt;TD&gt;39.867382&lt;/TD&gt;&lt;TD&gt;0.369889&lt;/TD&gt;&lt;TD&gt;39.1410467&lt;/TD&gt;&lt;TD&gt;40.5937167&lt;/TD&gt;&lt;TD&gt;40229&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="branch"&gt;&lt;DIV&gt;&lt;DIV align="center"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="branch"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
    <pubDate>Fri, 10 Feb 2017 18:23:11 GMT</pubDate>
    <dc:creator>Maria01</dc:creator>
    <dc:date>2017-02-10T18:23:11Z</dc:date>
    <item>
      <title>proc survey mean, standard deviation of square root</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-survey-mean-standard-deviation-of-square-root/m-p/331617#M74553</link>
      <description>&lt;P&gt;I am somewhat new to survey analysis. I am&amp;nbsp;running a code for survey sample and want to report the standard deviation, I am getting this big numbers in comparison to an unweighted code, I am pretty sure is something easy I am not looking at,can anyone help?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc means data=ms19.ms19 MEAN STD STDERR ALPHA=0.05 CLM;;&lt;BR /&gt;VAR AGE;&lt;BR /&gt;RUN ;&lt;/P&gt;&lt;P&gt;SAS Output&lt;/P&gt;&lt;DIV class="branch"&gt;&lt;DIV&gt;&lt;DIV align="center"&gt;Analysis Variable : AGE Age Mean Std Dev Std Error Lower 95%&lt;BR /&gt;CL for Mean Upper 95%&lt;BR /&gt;CL for Mean &lt;TABLE cellspacing="0" cellpadding="5"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;45.8475175&lt;/TD&gt;&lt;TD&gt;13.9318244&lt;/TD&gt;&lt;TD&gt;0.1087396&lt;/TD&gt;&lt;TD&gt;45.6343762&lt;/TD&gt;&lt;TD&gt;46.0606588&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;proc surveymeans data=ms19.ms19 MEAN RMSSTD STDERR ALPHA=0.05 CLM;&lt;BR /&gt;strata strat; cluster PSU_ID; weight WEIGHT_PA_IPW_OVERALL;&lt;BR /&gt;var AGE;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;SAS Output&lt;/P&gt;&lt;P&gt;SAS Output&lt;/P&gt;&lt;DIV class="branch"&gt;&lt;DIV&gt;&lt;DIV align="center"&gt;Data Summary Number of Strata Number of Clusters Number of Observations Sum of Weights &lt;TABLE cellspacing="0" cellpadding="5"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;664&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;16415&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;23413.2548&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;DIV align="center"&gt;Statistics Variable Label Mean Std Error of Mean 95% CL for Mean Std Dev AGE &lt;TABLE cellspacing="0" cellpadding="5"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Age&lt;/TD&gt;&lt;TD&gt;39.867382&lt;/TD&gt;&lt;TD&gt;0.369889&lt;/TD&gt;&lt;TD&gt;39.1410467&lt;/TD&gt;&lt;TD&gt;40.5937167&lt;/TD&gt;&lt;TD&gt;40229&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="branch"&gt;&lt;DIV&gt;&lt;DIV align="center"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="branch"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Fri, 10 Feb 2017 18:23:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-survey-mean-standard-deviation-of-square-root/m-p/331617#M74553</guid>
      <dc:creator>Maria01</dc:creator>
      <dc:date>2017-02-10T18:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: proc survey mean, standard deviation of square root</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-survey-mean-standard-deviation-of-square-root/m-p/331646#M74564</link>
      <description>&lt;P&gt;My initial guess is that you have one or more AGEs that is impossibly high and also has a very high value in the variable you are using to weight the analysis.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Art, CEO, AnalystFinder.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2017 19:37:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-survey-mean-standard-deviation-of-square-root/m-p/331646#M74564</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2017-02-10T19:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: proc survey mean, standard deviation of square root</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-survey-mean-standard-deviation-of-square-root/m-p/332265#M74771</link>
      <description>&lt;P&gt;Hi Art297,&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you for your help, I have read up on it and it seems I have a code the is not appropriate. The age range I have is from 45 to 75 years old and have no outliers, and my weight is to adjust for age as well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;it seems the code I need is someting similar to this:&lt;/P&gt;&lt;P&gt;proc means data=xxx n MIN MAX MEAN STD STDERR ALPHA=0.05 CLM;&lt;BR /&gt;weight xxx;&lt;BR /&gt;BY&amp;nbsp;xxx;&lt;BR /&gt;var AGE;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;SAS Output&lt;/P&gt;&lt;DIV class="branch"&gt;&lt;DIV&gt;&lt;DIV align="center"&gt;Analysis Variable : AGE Age N Minimum Maximum Mean Std Dev Std Error Lower 95%&lt;BR /&gt;CL for Mean Upper 95%&lt;BR /&gt;CL for Mean &lt;TABLE cellspacing="0" cellpadding="5"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;7675&lt;/TD&gt;&lt;TD&gt;45&lt;/TD&gt;&lt;TD&gt;75&lt;/TD&gt;&lt;TD&gt;56.50&lt;/TD&gt;&lt;TD&gt;6.63&lt;/TD&gt;&lt;TD&gt;0.09&lt;/TD&gt;&lt;TD&gt;56.31&lt;/TD&gt;&lt;TD&gt;56.68&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="branch"&gt;see the results seem something more realistic.&lt;/DIV&gt;&lt;DIV class="branch"&gt;Thank you.&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Mon, 13 Feb 2017 17:22:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-survey-mean-standard-deviation-of-square-root/m-p/332265#M74771</guid>
      <dc:creator>Maria01</dc:creator>
      <dc:date>2017-02-13T17:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: proc survey mean, standard deviation of square root</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-survey-mean-standard-deviation-of-square-root/m-p/333907#M75310</link>
      <description>&lt;P&gt;PROC SURVEYMEANS does not directly compute the standard deviation for the mean, the reported st. dev.&amp;nbsp;is for the SUM.&amp;nbsp;&lt;/P&gt;&lt;P&gt;You might find this SAS Note useful:&amp;nbsp;&lt;A href="http://support.sas.com/kb/45/701.html" target="_blank"&gt;http://support.sas.com/kb/45/701.html&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2017 19:31:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-survey-mean-standard-deviation-of-square-root/m-p/333907#M75310</guid>
      <dc:creator>lopezr</dc:creator>
      <dc:date>2017-02-17T19:31:13Z</dc:date>
    </item>
  </channel>
</rss>

