Hi all,
I have a sample of 1000 individuals divided in three groups : individuals where TYP_ALD=0, individuals where TYP_ALD=1, and individuals where TYP_ALD=2. For each of them I have an other variable called PRS_REM_MNT_INDIV which give me the amount that their insurance paid for them to cover their healthcare. My goal is to prove that this amount depends on what group you belong to (in other words, it will cost the insurance a lot more if your type of ALD is 0 for instance). I am far from having the normality satisfied so I've decided to use non-parametric test and so the Wilcoxon analysis. Here's what I've got in output using the npar1way procedure :
The Kruskal-Wallis test makes things pretty clear, however I'd also like to use the Wilcoxon's score table. Problem is I don't understand how the column 'Expected Under H0' is obtained. Can someone give me a hint on that and tell me how I can use this to prove my point?
Thank you all
The K-W test uses ranks. You have 1000 observations, so the expected (median) rank is 500.5.
The null hypothesis is that the median is independent of the categories.
Under the null hypothesis, the expected rank for Type=0, which has 763 observations, is 763*500.5 = 381881.5 .
Under the null hypothesis, the expected rank for Type=2, which has 89observations, is 89*500.5 = 44544.5.
etc
For your data, it looks like the cost for Type=0 is about the same as expected under H0. However, payments for Type=2 is less than expected and payments for Type=1 is more than expected.
The K-W test uses ranks. You have 1000 observations, so the expected (median) rank is 500.5.
The null hypothesis is that the median is independent of the categories.
Under the null hypothesis, the expected rank for Type=0, which has 763 observations, is 763*500.5 = 381881.5 .
Under the null hypothesis, the expected rank for Type=2, which has 89observations, is 89*500.5 = 44544.5.
etc
For your data, it looks like the cost for Type=0 is about the same as expected under H0. However, payments for Type=2 is less than expected and payments for Type=1 is more than expected.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.