BookmarkSubscribeRSS Feed
andrewp_82
Calcite | Level 5

Hi

I am using the proc stdrate to calculate Incidence Rate Ratios (IRRs). The code looks like this:

ods graphics on;

proc stdrate data = exposed_reduced refdata = richmond_reduced

             method=indirect

             stat=rate

             ;

   population event=observed_total total=pyear_total ;

   reference event=observed_total total=pyear_total ;

   strata post_strata rank_strata agegrp_cancer_1 year_cancer / smr ;

run;

ods graphics off;

However, I am getting the following error:

java.lang.ArrayIndexOutOfBoundsException

ERROR: Physical file does not exist, S:\SAS\SAS Temporary Files\_TD5952_WINSASAPP_\_D8C36FB10FE46E89B6E9441823BB839.bmp.

From my searching it appears the problem occurs when you have relational data and have a large number of rows to report.

Any ideas how to get around this?

Thank you!

Andrew

1 REPLY 1
Reeza
Super User

Java errors usually relate to graphics, try turning odd graphics off.

But I'd contact tech support to see what's going on. If you're running on a server the server may not have the right java installed.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 742 views
  • 0 likes
  • 2 in conversation