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; 

 

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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