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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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