<?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: confidence limits for median with weighted data in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/confidence-limits-for-median-with-weighted-data/m-p/328721#M17339</link>
    <description>&lt;P&gt;The documentation for PROC UNIVARIATE says: "Note that confidence limits for percentiles are not computed when a WEIGHT statement is specified."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, recall that &lt;A href="http://blogs.sas.com/content/iml/2013/05/13/regression-for-univariate-analysis.html" target="_self"&gt;you can use regression procedures to carry out univariate analyses.&lt;/A&gt;&amp;nbsp;Click on the link and scroll down to the third bullet to see how to use PROC QUANTREG to estimate quantiles and include confidence intervals. The QUANTREG procedure supports a WEIGHT statement. &amp;nbsp;For example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods output ParameterEstimates=QntlCI;
proc quantreg data=sashelp.cars;
   model MPG_City= / quantiles=0.5;
   weight weight;
run;
 
proc print data=QntlCI; run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 31 Jan 2017 13:05:04 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2017-01-31T13:05:04Z</dc:date>
    <item>
      <title>confidence limits for median with weighted data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/confidence-limits-for-median-with-weighted-data/m-p/328664#M17332</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is it possible to calculate confidence limits for the median with weighted data?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With proc univariate,&amp;nbsp;I can&amp;nbsp;calculate confidence limits for the median but&amp;nbsp;those are not produced when the weight statement is used.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for helping in advance&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2017 08:47:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/confidence-limits-for-median-with-weighted-data/m-p/328664#M17332</guid>
      <dc:creator>Franziska</dc:creator>
      <dc:date>2017-01-31T08:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: confidence limits for median with weighted data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/confidence-limits-for-median-with-weighted-data/m-p/328721#M17339</link>
      <description>&lt;P&gt;The documentation for PROC UNIVARIATE says: "Note that confidence limits for percentiles are not computed when a WEIGHT statement is specified."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, recall that &lt;A href="http://blogs.sas.com/content/iml/2013/05/13/regression-for-univariate-analysis.html" target="_self"&gt;you can use regression procedures to carry out univariate analyses.&lt;/A&gt;&amp;nbsp;Click on the link and scroll down to the third bullet to see how to use PROC QUANTREG to estimate quantiles and include confidence intervals. The QUANTREG procedure supports a WEIGHT statement. &amp;nbsp;For example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods output ParameterEstimates=QntlCI;
proc quantreg data=sashelp.cars;
   model MPG_City= / quantiles=0.5;
   weight weight;
run;
 
proc print data=QntlCI; run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 31 Jan 2017 13:05:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/confidence-limits-for-median-with-weighted-data/m-p/328721#M17339</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2017-01-31T13:05:04Z</dc:date>
    </item>
  </channel>
</rss>

