Hello Community,
I have an odd problem, which I cannot get my head around. I'm calculating standardized rates using PROC STDRATE (see code below). whenever I have a lot of observed events the lower confidence limit is not reported (a missing value is reproted). The problem occurs only:
Anny suggestions why this problem occurs and how it can be handled?
Thanks a lot in advance and a nice day to everyone!
Kind regards,
Reto
P.S.: Because the problem is connectes to the number of observed events, I cannot provide some sample data.
ods exclude all;
proc stdrate
data=work.ms_akut
refdata=work.resp
method=direct
cl=gamma
stat=rate(mult=1000)
;
population
event=obs_type
total=pop
;
reference
total=pop_resp
;
strata sex age_class ;
by canton
ods output StdRate=output_stdrate;
run;
ods exclude none;
For some data, the gamma-based confidence limits cannot be derived. In these cases a limit might be shown as missing. There should be a message about this in the SAS log. You might consider using a different distribution in the CL= option.
Thanks a lot for your response.
Could you give more insight why "gamma-based confidence limits cannot be derived" for some data? Is there a mathematical or a convergence problem? Is there a connection to the number of observed events?
With reference to recent literature I would prefer to us the gamma method in connection with directly standardized rates. See for example:
https://pophealthmetrics.biomedcentral.com/articles/10.1186/s12963-018-0177-1
Thanks again and have a nice day,
Reto
Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.
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.