<?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 Computing confidence interval for median in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Computing-confidence-interval-for-median/m-p/392456#M25295</link>
    <description>&lt;P&gt;Folks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've a query which I'm hoping people may be able to lend some advice on?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At the moment I'm working on a validation study between answers an individual gives to earnings by face to face interview and what their actual earnings from administrative records.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The information which is given by interviews is used to complie headline figures on median income of the sample and mean income.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I would like to do is compute confidence intervals at the 95% for these headline survey figures and see do the median and mean income values taken from the administrative records fall within the confidence intervals set out from the survey. In other words are these headline figures statistically significantly different than the survey ones?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understand how to compute upper and lower confidence intervals in SAS for means but I'm unsure how to do it for a median? From reading up it can be done, although with some slight assumptions limaitations etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any input would be very welcome.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;DATA Inc;
 INFILE DATALINES;
 INPUT Income_survey Income_admin;
DATALINES;
74680 11462
2076 54361
40150 76792
90681 26930
15000 15000
3600 2589
;run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 01 Sep 2017 08:39:36 GMT</pubDate>
    <dc:creator>Sean_OConnor</dc:creator>
    <dc:date>2017-09-01T08:39:36Z</dc:date>
    <item>
      <title>Computing confidence interval for median</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Computing-confidence-interval-for-median/m-p/392456#M25295</link>
      <description>&lt;P&gt;Folks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've a query which I'm hoping people may be able to lend some advice on?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At the moment I'm working on a validation study between answers an individual gives to earnings by face to face interview and what their actual earnings from administrative records.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The information which is given by interviews is used to complie headline figures on median income of the sample and mean income.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I would like to do is compute confidence intervals at the 95% for these headline survey figures and see do the median and mean income values taken from the administrative records fall within the confidence intervals set out from the survey. In other words are these headline figures statistically significantly different than the survey ones?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understand how to compute upper and lower confidence intervals in SAS for means but I'm unsure how to do it for a median? From reading up it can be done, although with some slight assumptions limaitations etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any input would be very welcome.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;DATA Inc;
 INFILE DATALINES;
 INPUT Income_survey Income_admin;
DATALINES;
74680 11462
2076 54361
40150 76792
90681 26930
15000 15000
3600 2589
;run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2017 08:39:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Computing-confidence-interval-for-median/m-p/392456#M25295</guid>
      <dc:creator>Sean_OConnor</dc:creator>
      <dc:date>2017-09-01T08:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: Computing confidence interval for median</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Computing-confidence-interval-for-median/m-p/392512#M25306</link>
      <description>&lt;PRE&gt;
Here are two kind of CI for median,one is for normal distribution,another is free distribution.


DATA Inc;
 INFILE DATALINES;
 INPUT Income_survey Income_admin;
DATALINES;
74680 11462
2076 54361
40150 76792
90681 26930
15000 15000
3600 2589
;run;

proc univariate data=inc CIPCTLDF CIPCTLNORMA ;
var income_survey;
run;

&lt;/PRE&gt;</description>
      <pubDate>Fri, 01 Sep 2017 12:40:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Computing-confidence-interval-for-median/m-p/392512#M25306</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2017-09-01T12:40:49Z</dc:date>
    </item>
  </channel>
</rss>

