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

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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
  • 2 replies
  • 2845 views
  • 0 likes
  • 2 in conversation