Statistical Procedures

Programming the statistical procedures from SAS
BookmarkSubscribeRSS Feed
LPC22
Calcite | Level 5

I have four treatments. The variables to study, which are weights and lengths, do not follow a normal distribution and the groups do not have the same variance so the question is: which kind of test should I use?

4 REPLIES 4
ballardw
Super User

@LPC22 wrote:

I have four treatments. The variables to study, which are weights and lengths, do not follow a normal distribution and the groups do not have the same variance so the question is: which kind of test should I use?


It will help if you can tell us what your research question is. Are you testing for identical means or median? A known/suspected difference in a mean or median? Distribution of values?

 

 

PGStats
Opal | Level 21

Non parametric tests do not rely on the normality of data for validity. Look at the documentation for proc npar1way.

PG
LPC22
Calcite | Level 5
I thought to use Kruskal-Wallis test but data for some variables are heteroscedastic.
PGStats
Opal | Level 21

Heteroscedasticity might not be a real problem here. Variables such as weights and lengths are typically not very skewed. ANOVA is quite robust to mild non-normality and might be perfectly fine. Heteroscedasticity will cost you some power in K-W analysis, but inferences will remain valid. Try both ANOVA and K-W. If you get similar p-values, you're fine. Otherwise, you should look more closely at your data for outliers, subgroups, etc.

PG

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

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