<?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: Question regarding Surveymeans and Medians in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Question-regarding-Surveymeans-and-Medians/m-p/105287#M5553</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Feb 2013 17:34:43 GMT</pubDate>
    <dc:creator>cotterness</dc:creator>
    <dc:date>2013-02-11T17:34:43Z</dc:date>
    <item>
      <title>Question regarding Surveymeans and Medians</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Question-regarding-Surveymeans-and-Medians/m-p/105285#M5551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Medians and Surveymeans: &lt;/P&gt;&lt;P&gt;I am trying to determine the median values for health worker's workload across settings, but when I run surveymeans requesting median (I use the By statement since median does not work with the domain statement), anyway the median value I get is different that the median value I get when I hand calculate the median.&lt;/P&gt;&lt;P&gt;For example surveymeans says the median value is 18.3 in a number set of 6,9,13,14,14,15,15,19,19,19,25,25,27,39,45,54,74,101,180.&amp;nbsp; I hand calculated median of 19 (not terriblely far off, but why 18.3 ?).&amp;nbsp; or surveymeans gives me a median of 41 out of a string of this values:&amp;nbsp; 2,9,13,25,36,40,44,44,55,70,75,90,91.&amp;nbsp; I calculate the median of 44.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;The data is weighted and clustered, but the weights within a strata(settings) are all the same. &lt;/P&gt;&lt;P&gt;Any thoughts on why the median values differ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2013 16:13:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Question-regarding-Surveymeans-and-Medians/m-p/105285#M5551</guid>
      <dc:creator>cotterness</dc:creator>
      <dc:date>2013-02-11T16:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: Question regarding Surveymeans and Medians</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Question-regarding-Surveymeans-and-Medians/m-p/105286#M5552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are many methods to estimate quantiles (such as the median) The one used for SURVEYMEANS is diocumented here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/statug/63962/HTML/default/viewer.htm#statug_surveymeans_a0000000235.htm" title="http://support.sas.com/documentation/cdl/en/statug/63962/HTML/default/viewer.htm#statug_surveymeans_a0000000235.htm"&gt;SAS/STAT(R) 9.3 User's Guide&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it probably differs from yours.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PG &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2013 16:33:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Question-regarding-Surveymeans-and-Medians/m-p/105286#M5552</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2013-02-11T16:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: Question regarding Surveymeans and Medians</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Question-regarding-Surveymeans-and-Medians/m-p/105287#M5553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2013 17:34:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Question-regarding-Surveymeans-and-Medians/m-p/105287#M5553</guid>
      <dc:creator>cotterness</dc:creator>
      <dc:date>2013-02-11T17:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: Question regarding Surveymeans and Medians</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Question-regarding-Surveymeans-and-Medians/m-p/105288#M5554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to follow-up on your post with an additional thought and a question.&amp;nbsp; If using a subset, the appropriate way to get summary statistics is through domain analysis.&amp;nbsp; I,too, am interested in median values in subgroups and have not been able to figure out how to get these values using domain analysis (and by-group analysis is not correct--actually in my data hand calculated vs. by-group medians are very different). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions on how to get median values using domain analysis in PROC SURVEYMEANS (or anothe PROC)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2013 14:59:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Question-regarding-Surveymeans-and-Medians/m-p/105288#M5554</guid>
      <dc:creator>arositch</dc:creator>
      <dc:date>2013-02-12T14:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: Question regarding Surveymeans and Medians</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Question-regarding-Surveymeans-and-Medians/m-p/105289#M5555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you are correct - the "by" option will not produce correct estimates ... or at least they will be different estimates, of the mean and varience measures. &lt;/P&gt;&lt;P&gt;I am not completly sure how the weight for the participants in each site is calculated, but it is weird.&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2013 21:34:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Question-regarding-Surveymeans-and-Medians/m-p/105289#M5555</guid>
      <dc:creator>cotterness</dc:creator>
      <dc:date>2013-02-12T21:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: Question regarding Surveymeans and Medians</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Question-regarding-Surveymeans-and-Medians/m-p/105290#M5556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One way that you can obtain domain statistics including percentiles like medians from the PROC SURVEYxxx procedures is to create new survey weights from the original survey weights, and run these procedures using these new survey weights.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For observations within a specified level of a domain, the new survey weights equal the original survey weights, but for observations at another level of that domain, the new survey weights equal a small positive number close to zero (for example, 0.000000001).&amp;nbsp; For each level of a domain, create similar new survey weights.&amp;nbsp; Then, run the PROC SURVEYxxx procedures across all the levels of a domain using the corresponding new survey weights.&amp;nbsp; If you do this often, you can "macro-ize" the creation of these new survey weights and merge them to the original data set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The justification for this method is found in the following reference:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Graubard BI, Korn EL.&amp;nbsp; Survey inference for subpopulations.&amp;nbsp; American Journal of Epidemiology 1996;144:102-106.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2013 19:22:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Question-regarding-Surveymeans-and-Medians/m-p/105290#M5556</guid>
      <dc:creator>1zmm</dc:creator>
      <dc:date>2013-02-18T19:22:34Z</dc:date>
    </item>
  </channel>
</rss>

