BookmarkSubscribeRSS Feed
ipqnojug
Calcite | Level 5

In the sas example, 

proc univariate data=Heights ciquantnormal(alpha=.1);
   var Height;
run;

calcualtes the confidence interval for quantiles, while

 

proc univariate data=Heights cibasic(alpha=.1);
   var Height;
run;

 calcualtes the confidence interval for mean.

I find that the confidence interval for 50% quantile is the same as that of mean. I am a little confused by this.

1 REPLY 1
FreelanceReinh
Jade | Level 19

Hello @ipqnojug and welcome to the SAS Support Communities!

 

Both CIBASIC and CIQUANTNORMAL (unlike CIQUANTDFcalculate confidence intervals based on the assumption that the data are normally distributed. Since mean and median (=50% quantile) of a normal distribution coincide, a confidence interval (CI) for the mean is also a CI for the median.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 1788 views
  • 2 likes
  • 2 in conversation