Wilcoxon 'signrank' test zval is not calculating

1 view (last 30 days)
Mert Dogan
Mert Dogan on 27 May 2022
Commented: Star Strider on 27 May 2022
Hello everyone,
I have a matrix for statistical analysis.
I performed the normal distribution test with the shapiro wilks test and observed that the data in my hand were not normally distributed.
According to this matrix, I want to analyze the pre- and post-intervention data of 15 people with signrank. When I do this analysis, the zval value cannot be determined as output. I couldn't understand why this happened? If the zval value cannot be calculated, is there an alternative test you can recommend?
I attaced my code and examples of variables.
load('ExampleData.mat');
[p,h,stats]=signrank(Var11(:,1),Var11(:,2));
stats
stats = struct with fields:
signedrank: 36

Accepted Answer

Star Strider
Star Strider on 27 May 2022
The ‘zval’ is only returned when the 'method' is 'approximate'.
There is no statistical difference between the vectors:
[p,h,stats]=signrank(Var11(:,1),Var11(:,2), 'method','approximate')
p =
0.30029
h =
logical
0
stats =
struct with fields:
zval: -1.0358
signedrank: 36
.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!