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; 

 

CFC_SAS_Communities_400x225.jpg

Call for content now open!

It's your turn to help shape SAS Innovate 2027. Share your expertise and inspire the SAS community.

Submit your proposal →

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