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

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

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