BookmarkSubscribeRSS Feed
plssssshelp
Calcite | Level 5
obviously this says twosamplemeans so this wouldn't work, what would I change it to in order to be able to use three sample means?
 
proc power;
twosamplemeans test=diff sides=1
groupmeans= 37 | 35 | 28
stddev = 4.5
groupweights = (1 1 1)
ntotal = 24
1 REPLY 1
ed_sas_member
Meteorite | Level 14

Hi @plssssshelp 

 

It seems that you want to conduct a one-way ANOVA power analysis. Is that right?

In this case you can use the keyword 'onewayanova'.

NB: you need to specify an option to be designated as the result.

E.g. if you're looking at power, specify power=.

Best,

proc power;
	onewayanova
	test=overall
	groupmeans=37 | 35 | 28
	stddev=4.5 
	groupweights=(1 1 1)
	ntotal=24
	power=.
	;
run; 

 

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 1 reply
  • 666 views
  • 0 likes
  • 2 in conversation