Question: Can anyone solve this in R programming? Write your own function my.wilcox. test which can perform both exact and normal approximation test for two-sided alternative

 Can anyone solve this in R programming? Write your own function

my.wilcox. test which can perform both exact and normal approximation test for

Can anyone solve this in R programming?

Write your own function my.wilcox. test which can perform both exact and normal approximation test for two-sided alternative hypothesis. Your function will compute the p-value using normal approximation if n, and n2 > 12. Otherwise, it will compute the p-value using exact test. Your function will return the test statistics W1 and W2, p-value p.value and a message indicating the type of test used (normal or exact). You may assume there is no ties in the data. Write your own function my.wilcox. test which can perform both exact and normal approximation test for two-sided alternative hypothesis. Your function will compute the p-value using normal approximation if n, and n2 > 12. Otherwise, it will compute the p-value using exact test. Your function will return the test statistics W1 and W2, p-value p.value and a message indicating the type of test used (normal or exact). You may assume there is no ties in the data

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!