BookmarkSubscribeRSS Feed
tpeng
Calcite | Level 5
proc power plotonly;
twosamplemeans test=diff
groupmeans =12 | 15 18
stddev = 7 9
power=.
ntotal = 200;
plot y=n min=20 max=500;
run;

PowerPlot4.png

 

all circle round, no diffMan Sad

 

sas ver.9.3,  any other reason?  thx 

  

2 REPLIES 2
Reeza
Super User

Try choosing a different style for your graph.

 

ODS HTML style=journal;

I would consider contacting SAS Tech Support to get help with this as well, as it seems weird. I had no issues in running this in SAS 9.4

Rick_SAS
SAS Super FREQ

I believe that SAS 9.3 was before the HTMLBlue style was created, so you are Reeza are using different default styles.  SAS 9.3 was more than five years ago, so I don't remember the default style, but I think your issue is the attribute priority.

 

According to Sanjay's article I linked to:

"While this behavior was first introduced in SAS 9.3, this AttrPriority behavior was internally implemented.  With SAS 9.3M1, the AttrPriority option was surfaced in the Style.  With SAS 9.4, AttrPriority option was surfaced in the ODS Graphics statement."

 

In other words, if you have 9.3m1 you can use the style to change the attrpriority.  If you use a modern version of SAS, you can just say

ODS GRAPHICS / attrpriority=NONE;

 

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