Help using Base SAS procedures

Confidence Interval for Median

Reply
N/A
Posts: 1

Confidence Interval for Median

Is there a way to construct a confidence interval for a median in SAS. I know how to construct a confidence interval for a mean using PROC UNIVARIATE, but don't see anything similar for the median.
Trusted Advisor
Posts: 2,113

Re: Confidence Interval for Median

Because the median is not based on any parametric assumptions about the data (except a continuous distribution), there is no closed form method to get the CI. You can, however, get a CI by bootstrapping. See

http://itl.nist.gov/div898/handbook/eda/section3/bootplot.htm

Google search
bootstrap site:sas.com
for several good articles and a macro.

Doc Muhlbaier
Duke
Ask a Question
Discussion stats
  • 1 reply
  • 308 views
  • 0 likes
  • 2 in conversation