You are on page 1of 2

Name : SURIYA G

Reg No : 20MIY0002

Course Code : MAT3011

Faculty : MOKESH RAYALU

Assignment : DA5
Objective:

To perform Mann Whitney U test using R programming

Null Hypothesis: There is no significance difference between


samples
Alternate Hypothesis: There is significance difference between
samples
Level of Significance: 5%
Code:
fb = c(25,28,32,30,27,29,26,31,24,28,
23,30,33,25,26,29,27,28,31,30)
insta = c(35,38,36,40,37,39,34,38,36,
35,37,39,38,40,36,35,38,37,39,34)
wilcox.test(fb,insta)

Output:
Wilcoxon rank sum test with continuity correction

data: fb and insta


W = 0, p-value = 6.412e-08
alternative hypothesis: true location shift is not equal to 0

Conclusion:
Do not reject H0. There is no significance difference
between samples.

You might also like