BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Anna_Guo
Calcite | Level 5

When I run and regression and generate  output, log shows following mesasge:

 

ERROR: Cannot write image to DiagnosticsPanel1.png. Please ensure that proper disk permissions are set.

My code is:

proc rege data= A;

model y=x1 x1;

ods output parameterestimates=table1;

run;

Sometimes it works, sometime not. I closed sas program and re-run it still give me this message.

My purpose is to create a file saving all parameters and corresponding statistics (T-value, P-value). I have many regressions and I would like to report my results ( parametere, P value and t value) only.

Please help. Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
AncaTilea
Pyrite | Level 9

Hi.

If you are using SAS 9.3., then PROC REG will automatically create all of the diagnostics plots under your working folder *you can see your working SAS folder by looking at the bottom, where there should be a path, like C:\Documents and Settings\User\Folder*

I would suggest to run

1. ODS GRAPHICS OFF;

2. ODS HTML CLOSE;

before you run your regression.

Good luck!

Anca.

View solution in original post

2 REPLIES 2
AncaTilea
Pyrite | Level 9

Hi.

If you are using SAS 9.3., then PROC REG will automatically create all of the diagnostics plots under your working folder *you can see your working SAS folder by looking at the bottom, where there should be a path, like C:\Documents and Settings\User\Folder*

I would suggest to run

1. ODS GRAPHICS OFF;

2. ODS HTML CLOSE;

before you run your regression.

Good luck!

Anca.

Anna_Guo
Calcite | Level 5

Thank you. Anca

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 3121 views
  • 0 likes
  • 2 in conversation