BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
I am trying to calculate Poisson-based 95% confidence intervals for rates. Is there a way to do this in SAS? The rates are based on small numbers of events, so the standard normal-based 95% CIs aren't appropriate.

Thanks.
1 ACCEPTED SOLUTION

Accepted Solutions
StatDave
SAS Super FREQ
See this usage note that discusses the modeling or rates and computing rate estimates and confidence limits:

http://support.sas.com/kb/24188

View solution in original post

4 REPLIES 4
Dale
Pyrite | Level 9
Would you describe your problem with a little more detail? You speak of rates, so that leads me to believe that you have differing exposure time for different observations. But it would be good to know more precisely what data you have and what you want to estimate.
deleted_user
Not applicable
We are using birth and population data to calculate birth rates. The confidence intervals will be used to compare rates by time intervals and locations.
Dale
Pyrite | Level 9
Assuming that the data are distributed as Poisson conditional on the population size, then you can obtain confidence intervals for the Poisson rate using the GENMOD procedure as follows:

proc genmod data=mydata;
  model birth_count = / dist=poisson offset=log_PopSize;
  estimate "log(rate)" intercept 1;
run;

where log_PopSize is the (natural) log of the population size and birth_count should be self explanatory. The above code would provide the rate for a population of size 1. You probably don't want to specify the rate for a population of size 1. In order to specify the rate for a population of size K, compute log_PopSize as

  log_PopSize = log(PopSize / K);

Of course, the variable log_PopSize needs to be constructed before executing the GENMOD procedure. You might also want to examine whether a negative binomial distribution specification provides a better fit than the Poisson.
StatDave
SAS Super FREQ
See this usage note that discusses the modeling or rates and computing rate estimates and confidence limits:

http://support.sas.com/kb/24188

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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
  • 4 replies
  • 20345 views
  • 2 likes
  • 3 in conversation