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: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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