BookmarkSubscribeRSS Feed
Master_DiSASter
Calcite | Level 5

Hi SASers,

 

I'm observing an irritating problem, using stdrate: I receive a missing value for LowerCL. 

 

The problem occurs only, when I ...:

  • calculate DIRECTLY standardized rates
  • using the GAMMA option to calculate confidence intervals
  • if there are a lot of observed events (from different tests I would say, the problem starts to occur, when there are mor than 110'000 obserbved events)

 

Because the problem occurs only with a lot of events, I'm not able to provide sample data. The code looks like this:

 

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;

Does anybody know this problem? Any explanation?

 

Any suggestions are very much appreciated....

 

Have a nice day,

Reto

 

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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
  • 0 replies
  • 204 views
  • 0 likes
  • 1 in conversation