Test of Normality (Shapiro-Wilk)
Test of Normality (Shapiro-Wilk)
Hello, I have a question about the Test of Normality (Shapiro-Wilk) in an Independent Samples T-Test. Normally you would check both groups for normal distribution as a requirement for the T-test. So you would get 2 results of the Shapiro-Wilk test. One result for each group. But I have seen that you can also do a test for normal distribution directly in the T-test. But this test seems to give only one result for both groups and not for each group separately. My question now is what exactly this result indicates.
Re: Test of Normality (Shapiro-Wilk)
Hi, @Geograman.
Some time ago, Jantonie posted here:
viewtopic.php?f=5&t=315
a problem with using the Shapiro-Wilk normality test.
Suggesting, when having two samples, to perform the normality test not on the scores, but rather on the differences within the group.
Here as a reminder for the jamovi team:
https://github.com/jamovi/jamovi/issues/488
I think Jonathon subsequently applied Jantonie's suggestion.
I am attaching a Screenshot, with a small script in the Rj module that applies this tip. Cheers,
Maurizio
Some time ago, Jantonie posted here:
viewtopic.php?f=5&t=315
a problem with using the Shapiro-Wilk normality test.
Suggesting, when having two samples, to perform the normality test not on the scores, but rather on the differences within the group.
Here as a reminder for the jamovi team:
https://github.com/jamovi/jamovi/issues/488
I think Jonathon subsequently applied Jantonie's suggestion.
I am attaching a Screenshot, with a small script in the Rj module that applies this tip. Cheers,
Maurizio
Re: Test of Normality (Shapiro-Wilk)
hi geograman,
the shapiro-wilk test is performed on the residuals, and not on the groups themselves. i do occasionally bump into people who want to test the groups separately. if you want to do that, you can do that in descriptives.
but putting all the residuals together and testing is accepted practice.
(it follows that if the residuals from one group is not normally distributed, then the residuals from all the groups combined will not be normally distributed either).
cheers
jonathon
the shapiro-wilk test is performed on the residuals, and not on the groups themselves. i do occasionally bump into people who want to test the groups separately. if you want to do that, you can do that in descriptives.
but putting all the residuals together and testing is accepted practice.
(it follows that if the residuals from one group is not normally distributed, then the residuals from all the groups combined will not be normally distributed either).
cheers
jonathon
Re: Test of Normality (Shapiro-Wilk)
Hi, thanks a lot, now I understand what jamovi is doing here.
Re: Test of Normality (Shapiro-Wilk)
is x-mean(x), the residual formula ?
Re: Test of Normality (Shapiro-Wilk)
yup.
jonathon
jonathon