Is it possible to add an option to the SAS Survey Commands to reset negative LCL to zero?
Send your output to a data set and use data step program to reset such things. You might want to look at upper bounds as well if your confidence limits are on percentages as they can exceed 100 percent mathematically if not practically.
What parameter are you estimating? Post your code. There might be something we can suggest
Many SAS procedures ensure that confidence intervals make sense for the parameter. For example, if you use PROC FREQ to estimate a binomial proportion, the CI for the proportion is always a subinterval of [0,1]. Similarly, a confidence interval for a variance or an odds ratio will never include a negative value.
If your statistic is assumed to be normally distributed, SAS will carry out the usual computations. SAS does not know when a parameter is bounded unless you tell it.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.