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.

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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
  • 1387 views
  • 2 likes
  • 2 in conversation