Programming the statistical procedures from SAS

error (ODS graph in Genmod)

Reply
Occasional Contributor
Posts: 16

error (ODS graph in Genmod)

I used Ods graphics in GENMOD prrecedure, but the result doesnt show any graph.
Is there any default setting I need to change regarding the following error?

ERROR: Insufficient authorization to access C:\Program
Files\SAS\SASFoundation\9.2\CumulativeResiduals1.png.
ERROR: Insufficient authorization to access C:\Program Files\SAS\SASFoundation\9.2\CumResidPanel.png.
Occasional Contributor
Posts: 16

Re: error (ODS graph in Genmod)

and this is how I did that:
data crash;
input major minor accident;
datalines;
9.8 9.9 10
9.7 9.8 10
9.8 9.8 9
10.7 9.5 38
10.7 9.5 46
10.7 9.6 44
11.0 9.2 41
11.0 9.3 49
11.1 9.3 40
10.4 10.0 40
10.4 10.1 31
10.2 9.9 45
10.6 10.4 78
10.6 10.4 64
10.6 10.4 54
10.4 10.1 57
10.4 10.1 51
10.2 10.1 49
10.5 10.4 56
10.5 10.4 41
10.4 10.4 50
10.3 9.6 41
10.3 9.7 31
10.4 9.7 33
;

run;
ods graphic on;
proc genmod data=crash;

model accident = major minor / dist=negbin link=log;
assess link / crpanel;

run;
ods graphics off;


I can see a "panel of cumulative Sum Residual Plot" but it's blank and doesn't show any plot.
Ask a Question
Discussion stats
  • 1 reply
  • 244 views
  • 0 likes
  • 1 in conversation