{"id":359,"date":"2019-08-02T06:35:51","date_gmt":"2019-08-02T06:35:51","guid":{"rendered":"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/?post_type=chapter&#038;p=359"},"modified":"2019-08-02T06:35:52","modified_gmt":"2019-08-02T06:35:52","slug":"non-parametric-test-i-mean-ranks-mann-whitney-test-wilcoxon-test-kruskal-test-friedman","status":"publish","type":"chapter","link":"https:\/\/ebooks.inflibnet.ac.in\/hsp16\/chapter\/non-parametric-test-i-mean-ranks-mann-whitney-test-wilcoxon-test-kruskal-test-friedman\/","title":{"rendered":"Non-parametric test I \u2013 Mean ranks, Mann Whitney test, Wilcoxon test, Kruskal test, Friedman"},"content":{"raw":"<p style=\"text-align: justify\"><strong>1 Introduction<\/strong><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">We are aware that parametric test has certain assumptions about one or more parameters of the population distribution from which the sample is drawn. Parametric test assumes the population data are normally distributed and is defined by its parameters such as mean and standard deviation. But in real world scenario, we come across data that does not follow any said distribution. To analyse such data, we use non-parametric test which can be used for non-normal variables. Non-Parametric statistics refer to a statistical method wherein the data does not have normal distribution. These tests are also called as distribution-free tests because they don\u2019t assume any distribution.<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">Non-parametric test can be used under the following circumstances:<\/p>\r\n\r\n<ul>\r\n \t<li style=\"text-align: justify\">Variables are distribution free;<\/li>\r\n \t<li style=\"text-align: justify\">The data may not be put into metric form appropriately (Nominal data);<\/li>\r\n \t<li style=\"text-align: justify\">Data may be rank ordered;<\/li>\r\n \t<li style=\"text-align: justify\">Data may be from small samples;<\/li>\r\n \t<li style=\"text-align: justify\">There may be non-normal distribution of the variables (Skewed data);<\/li>\r\n \t<li style=\"text-align: justify\">Outliers may be present.<\/li>\r\n<\/ul>\r\n&nbsp;\r\n<p style=\"text-align: justify\">The equivalent non-parametric tests for various parametric tests are discussed below:<\/p>\r\n<a href=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/chapter\/non-parametric-test-i-mean-ranks-mann-whitney-test-wilcoxon-test-kruskal-test-friedman\/untitled-172\/\" rel=\"attachment wp-att-360\"><img class=\"aligncenter size-full wp-image-360\" src=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-114.png\" alt=\"\" width=\"506\" height=\"335\" \/><\/a>\r\n<p style=\"text-align: justify\"><strong>1.2 Non-Parametric Tests<\/strong><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">List of Non-Parametric test discussed in this session are<\/p>\r\n\r\n<ul>\r\n \t<li>Mann Whitney U Test<\/li>\r\n \t<li>Wilcoxon Test<\/li>\r\n \t<li>Kruskal-Wallis Tests<\/li>\r\n \t<li>Friedman Test<\/li>\r\n<\/ul>\r\n<p style=\"text-align: justify\"><strong>Mean Ranks<\/strong><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">A method of handling data which has the same observed frequency occurring at two or more consecutive ranks; it consists of assigning the average of the ranks as the ranks for the common frequency.<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong>1.2.1 Mann Whitney U Test<\/strong><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">Mann-Whitney U test is the non-parametric alternative test to the independent sample t-test. It is used to compare two sample means that come from the same population, and used to test whether two sample means are equal or not.<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">Example:<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">Imagine that a researcher wants to know the difference between the effects of two fertilisers on yield, and if data is not normal, we use Mann-Whitney U test<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">Formula:<\/p>\r\n<a href=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/chapter\/non-parametric-test-i-mean-ranks-mann-whitney-test-wilcoxon-test-kruskal-test-friedman\/untitled-173\/\" rel=\"attachment wp-att-361\"><img class=\"aligncenter size-full wp-image-361\" src=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-115.png\" alt=\"\" width=\"294\" height=\"74\" \/><\/a>\r\n<div>\r\n<p style=\"text-align: justify\">Where:<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><em>U\u00a0 <\/em>= Mann-Whitney U test<\/p>\r\n<p style=\"text-align: justify\"><\/p>\r\n<p style=\"text-align: justify\"><em>n<\/em><em>1<\/em> = Sample size one\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <em>n<\/em><em>2<\/em> = Sample size two<em>\u00a0\u00a0 R<\/em><em>i<\/em> = Rank of the sample size<\/p>\r\n<p style=\"text-align: justify\"><\/p>\r\n<p style=\"text-align: justify\">Conditions\/Assumptions:<\/p>\r\n\r\n<ul>\r\n \t<li style=\"text-align: justify\">The sample drawn from the population is random.<\/li>\r\n \t<li style=\"text-align: justify\">Independence within the samples and mutual independence is assumed. That means that an observation belonging to one group cannot be found in another group.<\/li>\r\n \t<li style=\"text-align: justify\">Ordinal measurement scale is assumed.<\/li>\r\n<\/ul>\r\nData Required :\r\n\r\n&nbsp;\r\n\r\nOrdinal and numerical data for the variable to be tested Procedure using SPSS:\r\n\r\n&nbsp;\r\n<ol>\r\n \t<li>From the menu choose: Analyze \u2013 nonparametric tests \u2013 legacy dialogs \u2013 2 independent samples test...<\/li>\r\n \t<li>Select test variables (variables with numerical scale) \u2013 select grouping variable (variables with categorical scale) and define the groups.<\/li>\r\n \t<li>Select test type as Mann-Whitney U test<\/li>\r\n \t<li>\u00a0Then click Ok<\/li>\r\n<\/ol>\r\n<p style=\"text-align: justify\">Let us practically see Mann Whitney U Test using SPSS:<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">Example: Imagine that a researcher wants to determine wants to know the difference between the effect of drug A and B administered on patients suffering from cancer during the 6th week. Therefore, the dependent variable is \"cancer condition\" and the independent variable is \"drug\", which is split into two groups: \"Drug A\" and \"Drug B\".<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">Here cancer condition is the test variable and drugs is the grouping variable.<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">Research Question<strong>:<\/strong> Is there a significant mean difference between the effects of drug A and drug B?<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Hypotheses:<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">H0: There is no significant mean difference between the effects of drug A and drug B<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">H1: There is significant mean difference between the effects of drug A and drug B<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">The data sheet consists of responses of 20 respondents: The data includes name, drug type, age, age group, weights in pounds, cancer stage, initial condition, cancer condition after 2 weeks, after 4 weeks, and after 6 weeks.<\/span><\/p>\r\n<a href=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/chapter\/non-parametric-test-i-mean-ranks-mann-whitney-test-wilcoxon-test-kruskal-test-friedman\/untitled-174\/\" rel=\"attachment wp-att-362\"><img class=\"aligncenter size-full wp-image-362\" src=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-116.png\" alt=\"\" width=\"530\" height=\"610\" \/><\/a>\r\n\r\n<a href=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/chapter\/non-parametric-test-i-mean-ranks-mann-whitney-test-wilcoxon-test-kruskal-test-friedman\/untitled-175\/\" rel=\"attachment wp-att-363\"><img class=\"aligncenter size-full wp-image-363\" src=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-117.png\" alt=\"\" width=\"530\" height=\"269\" \/><\/a>\r\n\r\nLet us use the sample file Non-Parametric Tests.sav which includes the data as given above.\r\n\r\n<a href=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/chapter\/non-parametric-test-i-mean-ranks-mann-whitney-test-wilcoxon-test-kruskal-test-friedman\/untitled-176\/\" rel=\"attachment wp-att-364\"><img class=\"aligncenter size-full wp-image-364\" src=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-118.png\" alt=\"\" width=\"1204\" height=\"645\" \/><\/a>\r\n<p style=\"text-align: justify\"><strong>From the menu choose: Analyze \u2013 nonparametric tests \u2013 legacy dialogs \u2013 2 independent samples test...<\/strong><\/p>\r\n<a href=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/chapter\/non-parametric-test-i-mean-ranks-mann-whitney-test-wilcoxon-test-kruskal-test-friedman\/untitled-177\/\" rel=\"attachment wp-att-365\"><img class=\"aligncenter size-full wp-image-365\" src=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-119.png\" alt=\"\" width=\"1205\" height=\"1727\" \/><\/a>\r\n<p style=\"text-align: justify\"><strong>Select test variables (numerical scale) as condition after 6 weeks<\/strong><\/p>\r\n<p style=\"text-align: justify\"><\/p>\r\n<p style=\"text-align: justify\"><strong>Select grouping variable (categorical scale) as drugs and<\/strong><\/p>\r\n<p style=\"text-align: justify\"><\/p>\r\n<p style=\"text-align: justify\"><strong>Define the groups as 1,2 as defined by in the sample data file<\/strong><\/p>\r\n<p style=\"text-align: justify\"><\/p>\r\n<p style=\"text-align: justify\"><strong>1 refers to Drug A and 2 refers to Drug B<\/strong><\/p>\r\n<a href=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/chapter\/non-parametric-test-i-mean-ranks-mann-whitney-test-wilcoxon-test-kruskal-test-friedman\/untitled-178\/\" rel=\"attachment wp-att-366\"><img class=\"aligncenter size-full wp-image-366\" src=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-120.png\" alt=\"\" width=\"1205\" height=\"1727\" \/><\/a>\r\n<p style=\"text-align: justify\">In test type, check if Mann-Whitney U test is selected ...... Then click Ok.<\/p>\r\n<p style=\"text-align: justify\"><\/p>\r\n<p style=\"text-align: justify\">The result will be displayed in the output screen of SPSS which is as follows:<\/p>\r\n<a href=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/chapter\/non-parametric-test-i-mean-ranks-mann-whitney-test-wilcoxon-test-kruskal-test-friedman\/untitled-180\/\" rel=\"attachment wp-att-368\"><img class=\"aligncenter size-full wp-image-368\" src=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-122.png\" alt=\"\" width=\"1203\" height=\"681\" \/><\/a>\r\n<div>\r\n\r\nResults and Inference\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">The Ranks table provides information regarding the output of the actual Mann-Whitney U test. It shows mean rank and sum of ranks for the two groups tested. In the Ranks table, it is observed that the difference between the mean ranks between the two groups is negligible (0.62).<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">The next table i.e. the Test Statistics table provides the test statistic, <em>U<\/em> statistic, as well as the asymptotic significance (2-tailed) <em>p<\/em>-value. From the table, it can be inferred that the sig. is low as the <em>p<\/em>-value is &gt; 0.05 i.e. 0.837. Therefore, we can accept Null Hypothesis and conclude that there is no significant mean difference between the effect of drug A and drug B on cancer (during 6th week).<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong>1.2.2 Wilcoxon Test<\/strong><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">The Wilcoxon test or Wilcoxon signed-rank test is a non-parametric test used to compare two related samples or matched samples to assess whether their population mean ranks differ. It\u00a0<span style=\"text-align: initial;font-size: 1em\">can be <\/span><strong style=\"text-align: initial;font-size: 1em\">used as an alternative to the paired t-test<\/strong><span style=\"text-align: initial;font-size: 1em\"> when the population cannot be assumed to be normally distributed.<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Example:<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">A researcher wants to know the difference in yield of a plant at the end of 1st month and 2nd month after treated with fertiliser.<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Formula:<\/span><\/p>\r\n\r\n<\/div>\r\n<div>\r\n\r\n<a href=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/chapter\/non-parametric-test-i-mean-ranks-mann-whitney-test-wilcoxon-test-kruskal-test-friedman\/untitled-181\/\" rel=\"attachment wp-att-369\"><img class=\"aligncenter size-full wp-image-369\" src=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-123.png\" alt=\"\" width=\"659\" height=\"249\" \/><\/a>\r\n\r\nWhere\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\"><em>W<\/em><em>S<\/em> = Smallest of absolute values of the sums<\/p>\r\n<p style=\"text-align: justify\"><\/p>\r\n<p style=\"text-align: justify\"><em>n <\/em>= Number of pairs where difference is not zero<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">Conditions\/Assumptions:<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">It is assumed that the two samples need to be dependent observations of the cases. The Wilcoxon sign test assess for differences between a before and after measurement, while accounting for individual differences in the baseline.<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">The data is assumed to be numerical in nature.<\/p>\r\n&nbsp;\r\n\r\nData Required :\r\n\r\n&nbsp;\r\n\r\nNumerical data for the variables to be tested Procedure using SPSS:\r\n<ol>\r\n \t<li>From the menu choose: Analyze \u2013 nonparametric tests \u2013 legacy dialogs \u2013 2 related Samples...<\/li>\r\n \t<li>Select the test pairs (variables with numerical scale).<\/li>\r\n \t<li><span style=\"text-align: initial;font-size: 1em\">Select test type as Wilcoxon<\/span><\/li>\r\n \t<li><span style=\"text-align: initial;font-size: 1em\">Then click Ok<\/span><\/li>\r\n<\/ol>\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Let us now practically see Wilcoxon Test using SPSS:<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Example: A research team wants to test whether there is any difference between the condition of cancer patients at the end of 2nd week and at the end of 4th week after taking drugs.<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong style=\"text-align: initial;font-size: 1em\">Research Question: <\/strong><span style=\"text-align: initial;font-size: 1em\">Is there a difference between the condition of cancer patients at the end of 2nd week and at the end of 4th week after taking drugs?<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong style=\"text-align: initial;font-size: 1em\">Hypotheses:<\/strong><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong style=\"text-align: initial;font-size: 1em\">H<\/strong><strong style=\"text-align: initial;font-size: 1em\">0<\/strong><strong style=\"text-align: initial;font-size: 1em\">: <\/strong><span style=\"text-align: initial;font-size: 1em\">There is no significant difference between the condition of cancer patients at the end of 2nd week and at the end of 4th week after taking drugs<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong style=\"text-align: initial;font-size: 1em\">H<\/strong><strong style=\"text-align: initial;font-size: 1em\">a<\/strong><strong style=\"text-align: initial;font-size: 1em\">: <\/strong><span style=\"text-align: initial;font-size: 1em\">There is significant difference between the condition of cancer patients at the end of 2nd week and at the end of 4th week after taking drugs\u00a0<\/span><span style=\"text-align: initial;font-size: 1em\">Let us use the sample file Non-Parametric Tests.sav.<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong style=\"text-align: initial;font-size: 1em\">Go to Analyse \u2013 Nonparametric tests \u2013 Legacy Dialogs \u2013 2 Related Samples<\/strong><\/p>\r\n<a href=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/chapter\/non-parametric-test-i-mean-ranks-mann-whitney-test-wilcoxon-test-kruskal-test-friedman\/untitled-182\/\" rel=\"attachment wp-att-370\"><img class=\"aligncenter size-full wp-image-370\" src=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-124.png\" alt=\"\" width=\"1224\" height=\"656\" \/><\/a>\r\n<p style=\"text-align: justify\"><strong>Select test pairs (variables 1 as condition after 2<\/strong><strong>nd<\/strong><strong> week and variable 2 as condition after 4<\/strong><strong>th<\/strong><strong> week) and select test type as Wilcoxon<\/strong>.<\/p>\r\n<a href=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/chapter\/non-parametric-test-i-mean-ranks-mann-whitney-test-wilcoxon-test-kruskal-test-friedman\/untitled-183\/\" rel=\"attachment wp-att-371\"><img class=\"aligncenter size-full wp-image-371\" src=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-125.png\" alt=\"\" width=\"1203\" height=\"679\" \/><\/a>\r\n\r\n<strong>Then click Ok.<\/strong>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong>The result will be displayed in the output screen of SPSS which is as follows:<\/strong><\/p>\r\n<a href=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/chapter\/non-parametric-test-i-mean-ranks-mann-whitney-test-wilcoxon-test-kruskal-test-friedman\/untitled-184\/\" rel=\"attachment wp-att-372\"><img class=\"aligncenter size-full wp-image-372\" src=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-126.png\" alt=\"\" width=\"1219\" height=\"695\" \/><\/a>\r\n<p style=\"text-align: justify\">Output and Inference:<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">The Ranks table provides some interesting data on the comparison of the condition of cancer patients in 2nd week and condition of cancer patients in 4th week after taking drugs. We can see from the table that the 3 patients\u2019 cancer condition had an improvement in the 2nd week. However, 17 patients\u2019 cancer condition got deteriorated in the 4th week after taking drugs and 6 patients\u2019 cancer condition remained the same both in the 2nd week and 4th week.<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">By examining the final Test Statistics table, we can discover whether these changes, due to drugs, led overall to a statistically significant difference in cancer condition of the patients. The Asymp. Sig. (2-tailed) value is found to be statistically significant i.e. the p-value &lt; 0.05, which in this case is 0.005. Therefore, it can be concluded that there is significant difference between the condition of cancer patients at the end of 2nd week and at the end of 4th week after taking drugs. Therefore, Ho can be rejected.<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong>1.2.3 Kruskal-Wallis Test<\/strong><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">The Kruskal-Wallis test is a nonparametric test, and is used when the assumptions of one-way ANOVA are not met. Both the Kruskal-Wallis test and one-way ANOVA assess for significant differences on a continuous dependent variable by a categorical independent variable (with two or more groups). In the ANOVA, we assume that the dependent variable is normally distributed and there is approximately equal variance on the scores across groups. However, when using the Kruskal-Wallis Test, we do not have to make any of these assumptions. Therefore, the Kruskal-Wallis test can be used for both continuous and ordinal-level dependent variables. However, like most non-parametric tests, the Kruskal-Wallis Test is not as powerful as the ANOVA.<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">Example:<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">\u00a0A research team wants to test whether there is any difference in yield of plant based on seed varieties.<\/p>\r\n\r\n<div>\r\n\r\nFormula:\r\n\r\n<a href=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/chapter\/non-parametric-test-i-mean-ranks-mann-whitney-test-wilcoxon-test-kruskal-test-friedman\/untitled-185\/\" rel=\"attachment wp-att-373\"><img class=\"aligncenter size-full wp-image-373\" src=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-127.png\" alt=\"\" width=\"291\" height=\"71\" \/><\/a>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">Where<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><em>n <\/em>= Number of sample sizes in all groups<\/p>\r\n<p style=\"text-align: justify\"><\/p>\r\n<p style=\"text-align: justify\"><em>K <\/em>= Number of samples<\/p>\r\n<p style=\"text-align: justify\"><\/p>\r\n<p style=\"text-align: justify\"><em>R<\/em><em>i<\/em> = Sum of ranks in the ith group<\/p>\r\n<p style=\"text-align: justify\"><\/p>\r\n<p style=\"text-align: justify\"><em>n<\/em><em>i<\/em> = Sixe of the ith group<\/p>\r\n<p style=\"text-align: justify\"><\/p>\r\n<p style=\"text-align: justify\">Conditions\/Assumptions:<\/p>\r\n\r\n<ul>\r\n \t<li>Samples drawn from the population are random.<\/li>\r\n \t<li>We also assume that the observations are independent of each other.<\/li>\r\n \t<li>The measurement scale for the dependent variable should be at least ordinal.<\/li>\r\n<\/ul>\r\nData Required:\r\n\r\n&nbsp;\r\n\r\nOrdinal scale, ratio scale or interval scale variables can be used.\r\n\r\n&nbsp;\r\n\r\nProcedure using SPSS:\r\n<ul>\r\n \t<li>From the menu choose: Analyze \u2013 nonparametric tests \u2013 legacy dialogs \u2013 K independent Samples...<\/li>\r\n \t<li>Select the test variables (variables with numerical scale) and select the grouping variable<\/li>\r\n \t<li>Define the grouping variable<\/li>\r\n \t<li>Select test type as Kruskal-Wallis H<\/li>\r\n \t<li>Then click Ok<\/li>\r\n<\/ul>\r\n<\/div>\r\n<p style=\"text-align: justify\">Let us now practice Kruskal-Wallis Test using SPSS:<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">Example: A research team wants to test whether there is any difference in cancer condition of patients after the 6th week based on their cancer stages.<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">We have considered 4 stages in our sample data (Initial, serious, critical, and hopeless)<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong>Research Question: <\/strong>Is there any difference in cancer condition of patients after the 6th week based on their cancer stages?<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong>Hypotheses:<\/strong><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong>H<\/strong><strong>0<\/strong><strong>: <\/strong>There is no significant difference in cancer condition of patients after 6 weeks based on cancer stages<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong>H<\/strong><strong>a<\/strong><strong>: <\/strong>There is significant difference in cancer condition of patients after 6 weeks based on cancer stages<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">Let us use the sample file Non-Parametric Tests.sav.<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong>Go to Analyse \u2013 Nonparametric tests \u2013 Legacy Dialogs \u2013 K Independent Samples<\/strong><\/p>\r\n<a href=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/chapter\/non-parametric-test-i-mean-ranks-mann-whitney-test-wilcoxon-test-kruskal-test-friedman\/untitled-186\/\" rel=\"attachment wp-att-374\"><img class=\"aligncenter size-full wp-image-374\" src=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-128.png\" alt=\"\" width=\"1209\" height=\"681\" \/><\/a>\r\n<p style=\"text-align: justify\"><strong>Select test variable as condition after 6 weeks, grouping variable as stage, define the grouping range and select test type Kruskal-Wallis H.<\/strong><\/p>\r\n<a href=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/chapter\/non-parametric-test-i-mean-ranks-mann-whitney-test-wilcoxon-test-kruskal-test-friedman\/untitled-187\/\" rel=\"attachment wp-att-375\"><img class=\"aligncenter size-full wp-image-375\" src=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-129.png\" alt=\"\" width=\"1205\" height=\"685\" \/><\/a>\r\n\r\n<strong>Then click Ok.<\/strong>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong>The result will be displayed in the output screen of SPSS which is as follows:<a href=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/chapter\/non-parametric-test-i-mean-ranks-mann-whitney-test-wilcoxon-test-kruskal-test-friedman\/untitled-189\/\" rel=\"attachment wp-att-377\"><img class=\"aligncenter size-full wp-image-377\" src=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-131.png\" alt=\"\" width=\"1207\" height=\"689\" \/><\/a>\r\n<\/strong><\/p>\r\n\r\n<div>\r\n<p style=\"text-align: justify\">Output and Inference:<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">The Ranks table shows that there is difference in mean ranks of cancer conditions of patients after 6th week based on their cancer stages. Mean rank of patients in 3rd stage is higher, and lowest in 1st stage.<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">A Kruskal-Wallis test showed that there was a statistically significant difference in cancer condition of patients after 6 weeks based on cancer stages. The chi-square value of 10.765 is found to be significant as the <em>p<\/em>-value &lt; 0.05. Therefore, it is inferred that H0 is rejected which means that there is significant difference in cancer condition of patients after 6 weeks based on cancer stages.<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong>The last test of discussion is<\/strong><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong>1.2.4 Friedman Test<\/strong><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">Friedman\u2019s test is a non-parametric test for finding differences in treatments across multiple attempts. Basically, it\u2019s used in place of the 2 way ANOVA test when you don\u2019t know the distribution of your data.<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">Example: A research wants to test if there is any difference in yield of various seed varieties.<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">Formula:<\/p>\r\n<a href=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/chapter\/non-parametric-test-i-mean-ranks-mann-whitney-test-wilcoxon-test-kruskal-test-friedman\/untitled-190\/\" rel=\"attachment wp-att-378\"><img class=\"aligncenter size-full wp-image-378\" src=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-132.png\" alt=\"\" width=\"665\" height=\"163\" \/><\/a>\r\n<p style=\"text-align: justify\">Where<\/p>\r\n<p style=\"text-align: justify\"><\/p>\r\n<p style=\"text-align: justify\"><em>c <\/em>= Number of treatment levels (columns)<\/p>\r\n<p style=\"text-align: justify\"><\/p>\r\n<p style=\"text-align: justify\"><em>b <\/em>= Number of blocks (rows)<\/p>\r\n<p style=\"text-align: justify\"><\/p>\r\n<p style=\"text-align: justify\"><em>R<\/em><em>i<\/em> = Total ranks for a particular treatment level<\/p>\r\n<p style=\"text-align: justify\"><\/p>\r\n<p style=\"text-align: justify\"><em>j <\/em>= Particular treatment level<\/p>\r\n\r\n<\/div>\r\n<div>\r\n<p style=\"text-align: justify\">Conditions\/Assumptions:<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">We assume that the samples drawn from the population are random.<\/p>\r\n\r\n<ul>\r\n \t<li>Data should be ordinal (e.g. the Likert scale) or continuous.<\/li>\r\n \t<li>Data comes from a single group, measured on at least three different occasions.<\/li>\r\n \t<li>The sample was created with a random sampling method.<\/li>\r\n \t<li>Blocks are mutually independent (i.e. all of the pairs are independent - one doesn\u2019t affect the other).<\/li>\r\n \t<li>Observations are ranked within blocks with no ties.<\/li>\r\n<\/ul>\r\nData Required:\r\n<ul>\r\n \t<li>Data should be ordinal (e.g. the Likert scale) or continuous. Procedure using SPSS:<\/li>\r\n<\/ul>\r\n<ol>\r\n \t<li>From the menu choose: Analyze \u2013 nonparametric tests \u2013 legacy dialogs \u2013 K Related Samples...<\/li>\r\n \t<li>Select the test variables<\/li>\r\n \t<li>Select test type as Kruskal-Wallis H<\/li>\r\n \t<li>Then click Ok<\/li>\r\n<\/ol>\r\nLet us practice Friedman Test using SPSS:\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">Example: A research team wants to test whether there is any difference in the 4 groups of cancer conditions i.e. initial condition, condition after 2 weeks, condition after 4 weeks, and condition after 6 weeks.<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong>Research Question: <\/strong>Is there any difference in the 4 groups of cancer conditions i.e. initial condition, condition after 2 weeks, condition after 4 weeks, and condition after 6 weeks?<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong>Hypotheses:<\/strong><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong>H<\/strong><strong>0<\/strong><strong>: <\/strong>There is no significant difference in the 4 groups of cancer conditions i.e. initial condition, condition after 2 weeks, condition after 4 weeks, and condition after 6 weeks<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong style=\"text-align: initial;font-size: 1em\">Ha: <\/strong><span style=\"text-align: initial;font-size: 1em\">There is significant difference in the 4 groups of cancer conditions i.e. initial condition, condition after 2 weeks, condition after 4 weeks, and condition after 6 weeks<\/span><\/p>\r\n&nbsp;\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Let us use the sample file Non-Parametric Tests.sav.<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Go to Analyse \u2013 Nonparametric tests \u2013 Legacy Dialogs \u2013 K Related Samples<\/span><\/p>\r\n<a href=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/chapter\/non-parametric-test-i-mean-ranks-mann-whitney-test-wilcoxon-test-kruskal-test-friedman\/untitled-191\/\" rel=\"attachment wp-att-379\"><img class=\"aligncenter size-full wp-image-379\" src=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-133.png\" alt=\"\" width=\"1209\" height=\"693\" \/><\/a>\r\n<p style=\"text-align: justify\"><strong>Select test variables as initial condition, condition after 2 weeks, condition after 4 weeks, and condition after 6 weeks and select test type as Friedman.<\/strong><\/p>\r\n<a href=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/chapter\/non-parametric-test-i-mean-ranks-mann-whitney-test-wilcoxon-test-kruskal-test-friedman\/untitled-192\/\" rel=\"attachment wp-att-380\"><img class=\"aligncenter size-full wp-image-380\" src=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-134.png\" alt=\"\" width=\"1215\" height=\"731\" \/><\/a>\r\n<p style=\"text-align: justify\"><strong>Then click Ok.<\/strong><\/p>\r\n<p style=\"text-align: justify\"><\/p>\r\n<p style=\"text-align: justify\"><strong>The result will be displayed in the output screen of SPSS which is as follows:<\/strong><\/p>\r\n<a href=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/chapter\/non-parametric-test-i-mean-ranks-mann-whitney-test-wilcoxon-test-kruskal-test-friedman\/untitled-193\/\" rel=\"attachment wp-att-381\"><img class=\"aligncenter size-full wp-image-381\" src=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-135.png\" alt=\"\" width=\"1213\" height=\"681\" \/><\/a>\r\n\r\nOutput and Inference:\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">The Ranks table shows the mean rank for each of the related groups. The Friedman test compares the mean ranks between the related groups and indicates how the groups differed. Mean rank of cancer at initial condition is 1.42, condition after 2 weeks is 2.40, condition after 4 weeks is 3.29 and condition after 6 weeks is 2.88. Based on the observed mean ranks of the groups it is inferred that there is difference among the groups.<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">The Test Statistics table informs the actual result of the Friedman test, and whether there is significant difference between the mean ranks of related groups. From our example, we can see that the <em>p<\/em>-value of chi-square statistics (34.95) was found to be statistically significant at the 5% level (p-value &lt; 0.05) <strong>Therefore, H<\/strong><strong>0<\/strong> <strong>is rejected which means that there is<\/strong> <strong>significant difference in the 4 groups of cancer conditions i.e. initial condition, condition after 2 weeks, condition after 4 weeks, and condition after 6 weeks.<\/strong><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong>1.3 Conclusion<\/strong><\/p>\r\n<p style=\"text-align: justify\"><\/p>\r\n<p style=\"text-align: justify\">We have seen that non-parametric tests are applicable when data are not normally distributed.<\/p>\r\n<p style=\"text-align: justify\">However, non-parametric tests can be applied when data is both normal and non-normal.<\/p>\r\n<p style=\"text-align: justify\">There are certain non parametric test which examines difference in means such as <strong>Mann\u00a0<\/strong><strong>Whitney Test, Kruskal-Wallis Test, Wilcoxon Signed Rank Testand Friedman Test. Certain other non-parametric test is used to examine the difference in medians such as<\/strong><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">Sign Test, McNemar Test, Cochran Q Test and others.<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">We have discussed the non-parametric tests based on means in this session.<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">Non-parametric test are advantageous for the reasons that<\/p>\r\n\r\n<ul>\r\n \t<li>Assumptions on Population is immaterial<\/li>\r\n \t<li>No much statistical knowledge required<\/li>\r\n \t<li>Test results are not affected by outliers (extreme values) as they rely on sign or mean ranks.<\/li>\r\n \t<li>Can be used for small or large sample<\/li>\r\n<\/ul>\r\nHowever, they lack importance among researchers for the following reasons:\r\n<ul>\r\n \t<li style=\"text-align: justify\">Results do not convey much about actual differences in a population as it is distribution \u2013free.<\/li>\r\n \t<li style=\"text-align: justify\">In case of large sample, computations are complicated.<\/li>\r\n \t<li style=\"text-align: justify\">It is practically difficult to do modeling using multiple regressions.<\/li>\r\n<\/ul>\r\n<p style=\"text-align: justify\"><\/p>\r\n<p style=\"text-align: justify\">Therefore, researchers shall be cautious before non-parametric tests as they have less statistical powerful when compared to parametric tests. They need to apply only when situation demands the use of non-parametric test.<\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<\/div>","rendered":"<p style=\"text-align: justify\"><strong>1 Introduction<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">We are aware that parametric test has certain assumptions about one or more parameters of the population distribution from which the sample is drawn. Parametric test assumes the population data are normally distributed and is defined by its parameters such as mean and standard deviation. But in real world scenario, we come across data that does not follow any said distribution. To analyse such data, we use non-parametric test which can be used for non-normal variables. Non-Parametric statistics refer to a statistical method wherein the data does not have normal distribution. These tests are also called as distribution-free tests because they don\u2019t assume any distribution.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Non-parametric test can be used under the following circumstances:<\/p>\n<ul>\n<li style=\"text-align: justify\">Variables are distribution free;<\/li>\n<li style=\"text-align: justify\">The data may not be put into metric form appropriately (Nominal data);<\/li>\n<li style=\"text-align: justify\">Data may be rank ordered;<\/li>\n<li style=\"text-align: justify\">Data may be from small samples;<\/li>\n<li style=\"text-align: justify\">There may be non-normal distribution of the variables (Skewed data);<\/li>\n<li style=\"text-align: justify\">Outliers may be present.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">The equivalent non-parametric tests for various parametric tests are discussed below:<\/p>\n<p><a href=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/chapter\/non-parametric-test-i-mean-ranks-mann-whitney-test-wilcoxon-test-kruskal-test-friedman\/untitled-172\/\" rel=\"attachment wp-att-360\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-360\" src=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-114.png\" alt=\"\" width=\"506\" height=\"335\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-114.png 506w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-114-300x199.png 300w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-114-65x43.png 65w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-114-225x149.png 225w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-114-350x232.png 350w\" sizes=\"auto, (max-width: 506px) 100vw, 506px\" \/><\/a><\/p>\n<p style=\"text-align: justify\"><strong>1.2 Non-Parametric Tests<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">List of Non-Parametric test discussed in this session are<\/p>\n<ul>\n<li>Mann Whitney U Test<\/li>\n<li>Wilcoxon Test<\/li>\n<li>Kruskal-Wallis Tests<\/li>\n<li>Friedman Test<\/li>\n<\/ul>\n<p style=\"text-align: justify\"><strong>Mean Ranks<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">A method of handling data which has the same observed frequency occurring at two or more consecutive ranks; it consists of assigning the average of the ranks as the ranks for the common frequency.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong>1.2.1 Mann Whitney U Test<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Mann-Whitney U test is the non-parametric alternative test to the independent sample t-test. It is used to compare two sample means that come from the same population, and used to test whether two sample means are equal or not.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Example:<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Imagine that a researcher wants to know the difference between the effects of two fertilisers on yield, and if data is not normal, we use Mann-Whitney U test<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Formula:<\/p>\n<p><a href=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/chapter\/non-parametric-test-i-mean-ranks-mann-whitney-test-wilcoxon-test-kruskal-test-friedman\/untitled-173\/\" rel=\"attachment wp-att-361\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-361\" src=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-115.png\" alt=\"\" width=\"294\" height=\"74\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-115.png 294w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-115-65x16.png 65w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-115-225x57.png 225w\" sizes=\"auto, (max-width: 294px) 100vw, 294px\" \/><\/a><\/p>\n<div>\n<p style=\"text-align: justify\">Where:<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><em>U\u00a0 <\/em>= Mann-Whitney U test<\/p>\n<p style=\"text-align: justify\">\n<p style=\"text-align: justify\"><em>n<\/em><em>1<\/em> = Sample size one\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <em>n<\/em><em>2<\/em> = Sample size two<em>\u00a0\u00a0 R<\/em><em>i<\/em> = Rank of the sample size<\/p>\n<p style=\"text-align: justify\">\n<p style=\"text-align: justify\">Conditions\/Assumptions:<\/p>\n<ul>\n<li style=\"text-align: justify\">The sample drawn from the population is random.<\/li>\n<li style=\"text-align: justify\">Independence within the samples and mutual independence is assumed. That means that an observation belonging to one group cannot be found in another group.<\/li>\n<li style=\"text-align: justify\">Ordinal measurement scale is assumed.<\/li>\n<\/ul>\n<p>Data Required :<\/p>\n<p>&nbsp;<\/p>\n<p>Ordinal and numerical data for the variable to be tested Procedure using SPSS:<\/p>\n<p>&nbsp;<\/p>\n<ol>\n<li>From the menu choose: Analyze \u2013 nonparametric tests \u2013 legacy dialogs \u2013 2 independent samples test&#8230;<\/li>\n<li>Select test variables (variables with numerical scale) \u2013 select grouping variable (variables with categorical scale) and define the groups.<\/li>\n<li>Select test type as Mann-Whitney U test<\/li>\n<li>\u00a0Then click Ok<\/li>\n<\/ol>\n<p style=\"text-align: justify\">Let us practically see Mann Whitney U Test using SPSS:<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Example: Imagine that a researcher wants to determine wants to know the difference between the effect of drug A and B administered on patients suffering from cancer during the 6th week. Therefore, the dependent variable is &#8220;cancer condition&#8221; and the independent variable is &#8220;drug&#8221;, which is split into two groups: &#8220;Drug A&#8221; and &#8220;Drug B&#8221;.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Here cancer condition is the test variable and drugs is the grouping variable.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Research Question<strong>:<\/strong> Is there a significant mean difference between the effects of drug A and drug B?<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Hypotheses:<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">H0: There is no significant mean difference between the effects of drug A and drug B<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">H1: There is significant mean difference between the effects of drug A and drug B<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">The data sheet consists of responses of 20 respondents: The data includes name, drug type, age, age group, weights in pounds, cancer stage, initial condition, cancer condition after 2 weeks, after 4 weeks, and after 6 weeks.<\/span><\/p>\n<p><a href=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/chapter\/non-parametric-test-i-mean-ranks-mann-whitney-test-wilcoxon-test-kruskal-test-friedman\/untitled-174\/\" rel=\"attachment wp-att-362\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-362\" src=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-116.png\" alt=\"\" width=\"530\" height=\"610\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-116.png 530w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-116-261x300.png 261w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-116-65x75.png 65w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-116-225x259.png 225w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-116-350x403.png 350w\" sizes=\"auto, (max-width: 530px) 100vw, 530px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/chapter\/non-parametric-test-i-mean-ranks-mann-whitney-test-wilcoxon-test-kruskal-test-friedman\/untitled-175\/\" rel=\"attachment wp-att-363\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-363\" src=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-117.png\" alt=\"\" width=\"530\" height=\"269\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-117.png 530w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-117-300x152.png 300w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-117-65x33.png 65w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-117-225x114.png 225w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-117-350x178.png 350w\" sizes=\"auto, (max-width: 530px) 100vw, 530px\" \/><\/a><\/p>\n<p>Let us use the sample file Non-Parametric Tests.sav which includes the data as given above.<\/p>\n<p><a href=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/chapter\/non-parametric-test-i-mean-ranks-mann-whitney-test-wilcoxon-test-kruskal-test-friedman\/untitled-176\/\" rel=\"attachment wp-att-364\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-364\" src=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-118.png\" alt=\"\" width=\"1204\" height=\"645\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-118.png 1204w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-118-300x161.png 300w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-118-768x411.png 768w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-118-1024x549.png 1024w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-118-65x35.png 65w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-118-225x121.png 225w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-118-350x188.png 350w\" sizes=\"auto, (max-width: 1204px) 100vw, 1204px\" \/><\/a><\/p>\n<p style=\"text-align: justify\"><strong>From the menu choose: Analyze \u2013 nonparametric tests \u2013 legacy dialogs \u2013 2 independent samples test&#8230;<\/strong><\/p>\n<p><a href=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/chapter\/non-parametric-test-i-mean-ranks-mann-whitney-test-wilcoxon-test-kruskal-test-friedman\/untitled-177\/\" rel=\"attachment wp-att-365\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-365\" src=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-119.png\" alt=\"\" width=\"1205\" height=\"1727\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-119.png 1205w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-119-209x300.png 209w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-119-768x1101.png 768w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-119-714x1024.png 714w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-119-65x93.png 65w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-119-225x322.png 225w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-119-350x502.png 350w\" sizes=\"auto, (max-width: 1205px) 100vw, 1205px\" \/><\/a><\/p>\n<p style=\"text-align: justify\"><strong>Select test variables (numerical scale) as condition after 6 weeks<\/strong><\/p>\n<p style=\"text-align: justify\">\n<p style=\"text-align: justify\"><strong>Select grouping variable (categorical scale) as drugs and<\/strong><\/p>\n<p style=\"text-align: justify\">\n<p style=\"text-align: justify\"><strong>Define the groups as 1,2 as defined by in the sample data file<\/strong><\/p>\n<p style=\"text-align: justify\">\n<p style=\"text-align: justify\"><strong>1 refers to Drug A and 2 refers to Drug B<\/strong><\/p>\n<p><a href=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/chapter\/non-parametric-test-i-mean-ranks-mann-whitney-test-wilcoxon-test-kruskal-test-friedman\/untitled-178\/\" rel=\"attachment wp-att-366\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-366\" src=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-120.png\" alt=\"\" width=\"1205\" height=\"1727\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-120.png 1205w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-120-209x300.png 209w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-120-768x1101.png 768w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-120-714x1024.png 714w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-120-65x93.png 65w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-120-225x322.png 225w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-120-350x502.png 350w\" sizes=\"auto, (max-width: 1205px) 100vw, 1205px\" \/><\/a><\/p>\n<p style=\"text-align: justify\">In test type, check if Mann-Whitney U test is selected &#8230;&#8230; Then click Ok.<\/p>\n<p style=\"text-align: justify\">\n<p style=\"text-align: justify\">The result will be displayed in the output screen of SPSS which is as follows:<\/p>\n<p><a href=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/chapter\/non-parametric-test-i-mean-ranks-mann-whitney-test-wilcoxon-test-kruskal-test-friedman\/untitled-180\/\" rel=\"attachment wp-att-368\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-368\" src=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-122.png\" alt=\"\" width=\"1203\" height=\"681\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-122.png 1203w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-122-300x170.png 300w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-122-768x435.png 768w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-122-1024x580.png 1024w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-122-65x37.png 65w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-122-225x127.png 225w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-122-350x198.png 350w\" sizes=\"auto, (max-width: 1203px) 100vw, 1203px\" \/><\/a><\/p>\n<div>\n<p>Results and Inference<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">The Ranks table provides information regarding the output of the actual Mann-Whitney U test. It shows mean rank and sum of ranks for the two groups tested. In the Ranks table, it is observed that the difference between the mean ranks between the two groups is negligible (0.62).<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">The next table i.e. the Test Statistics table provides the test statistic, <em>U<\/em> statistic, as well as the asymptotic significance (2-tailed) <em>p<\/em>-value. From the table, it can be inferred that the sig. is low as the <em>p<\/em>-value is &gt; 0.05 i.e. 0.837. Therefore, we can accept Null Hypothesis and conclude that there is no significant mean difference between the effect of drug A and drug B on cancer (during 6th week).<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong>1.2.2 Wilcoxon Test<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">The Wilcoxon test or Wilcoxon signed-rank test is a non-parametric test used to compare two related samples or matched samples to assess whether their population mean ranks differ. It\u00a0<span style=\"text-align: initial;font-size: 1em\">can be <\/span><strong style=\"text-align: initial;font-size: 1em\">used as an alternative to the paired t-test<\/strong><span style=\"text-align: initial;font-size: 1em\"> when the population cannot be assumed to be normally distributed.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Example:<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">A researcher wants to know the difference in yield of a plant at the end of 1st month and 2nd month after treated with fertiliser.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Formula:<\/span><\/p>\n<\/div>\n<div>\n<p><a href=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/chapter\/non-parametric-test-i-mean-ranks-mann-whitney-test-wilcoxon-test-kruskal-test-friedman\/untitled-181\/\" rel=\"attachment wp-att-369\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-369\" src=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-123.png\" alt=\"\" width=\"659\" height=\"249\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-123.png 659w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-123-300x113.png 300w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-123-65x25.png 65w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-123-225x85.png 225w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-123-350x132.png 350w\" sizes=\"auto, (max-width: 659px) 100vw, 659px\" \/><\/a><\/p>\n<p>Where<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><em>W<\/em><em>S<\/em> = Smallest of absolute values of the sums<\/p>\n<p style=\"text-align: justify\">\n<p style=\"text-align: justify\"><em>n <\/em>= Number of pairs where difference is not zero<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Conditions\/Assumptions:<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">It is assumed that the two samples need to be dependent observations of the cases. The Wilcoxon sign test assess for differences between a before and after measurement, while accounting for individual differences in the baseline.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">The data is assumed to be numerical in nature.<\/p>\n<p>&nbsp;<\/p>\n<p>Data Required :<\/p>\n<p>&nbsp;<\/p>\n<p>Numerical data for the variables to be tested Procedure using SPSS:<\/p>\n<ol>\n<li>From the menu choose: Analyze \u2013 nonparametric tests \u2013 legacy dialogs \u2013 2 related Samples&#8230;<\/li>\n<li>Select the test pairs (variables with numerical scale).<\/li>\n<li><span style=\"text-align: initial;font-size: 1em\">Select test type as Wilcoxon<\/span><\/li>\n<li><span style=\"text-align: initial;font-size: 1em\">Then click Ok<\/span><\/li>\n<\/ol>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Let us now practically see Wilcoxon Test using SPSS:<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Example: A research team wants to test whether there is any difference between the condition of cancer patients at the end of 2nd week and at the end of 4th week after taking drugs.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong style=\"text-align: initial;font-size: 1em\">Research Question: <\/strong><span style=\"text-align: initial;font-size: 1em\">Is there a difference between the condition of cancer patients at the end of 2nd week and at the end of 4th week after taking drugs?<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong style=\"text-align: initial;font-size: 1em\">Hypotheses:<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong style=\"text-align: initial;font-size: 1em\">H<\/strong><strong style=\"text-align: initial;font-size: 1em\">0<\/strong><strong style=\"text-align: initial;font-size: 1em\">: <\/strong><span style=\"text-align: initial;font-size: 1em\">There is no significant difference between the condition of cancer patients at the end of 2nd week and at the end of 4th week after taking drugs<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong style=\"text-align: initial;font-size: 1em\">H<\/strong><strong style=\"text-align: initial;font-size: 1em\">a<\/strong><strong style=\"text-align: initial;font-size: 1em\">: <\/strong><span style=\"text-align: initial;font-size: 1em\">There is significant difference between the condition of cancer patients at the end of 2nd week and at the end of 4th week after taking drugs\u00a0<\/span><span style=\"text-align: initial;font-size: 1em\">Let us use the sample file Non-Parametric Tests.sav.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong style=\"text-align: initial;font-size: 1em\">Go to Analyse \u2013 Nonparametric tests \u2013 Legacy Dialogs \u2013 2 Related Samples<\/strong><\/p>\n<p><a href=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/chapter\/non-parametric-test-i-mean-ranks-mann-whitney-test-wilcoxon-test-kruskal-test-friedman\/untitled-182\/\" rel=\"attachment wp-att-370\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-370\" src=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-124.png\" alt=\"\" width=\"1224\" height=\"656\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-124.png 1224w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-124-300x161.png 300w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-124-768x412.png 768w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-124-1024x549.png 1024w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-124-65x35.png 65w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-124-225x121.png 225w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-124-350x188.png 350w\" sizes=\"auto, (max-width: 1224px) 100vw, 1224px\" \/><\/a><\/p>\n<p style=\"text-align: justify\"><strong>Select test pairs (variables 1 as condition after 2<\/strong><strong>nd<\/strong><strong> week and variable 2 as condition after 4<\/strong><strong>th<\/strong><strong> week) and select test type as Wilcoxon<\/strong>.<\/p>\n<p><a href=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/chapter\/non-parametric-test-i-mean-ranks-mann-whitney-test-wilcoxon-test-kruskal-test-friedman\/untitled-183\/\" rel=\"attachment wp-att-371\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-371\" src=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-125.png\" alt=\"\" width=\"1203\" height=\"679\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-125.png 1203w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-125-300x169.png 300w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-125-768x433.png 768w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-125-1024x578.png 1024w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-125-65x37.png 65w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-125-225x127.png 225w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-125-350x198.png 350w\" sizes=\"auto, (max-width: 1203px) 100vw, 1203px\" \/><\/a><\/p>\n<p><strong>Then click Ok.<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong>The result will be displayed in the output screen of SPSS which is as follows:<\/strong><\/p>\n<p><a href=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/chapter\/non-parametric-test-i-mean-ranks-mann-whitney-test-wilcoxon-test-kruskal-test-friedman\/untitled-184\/\" rel=\"attachment wp-att-372\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-372\" src=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-126.png\" alt=\"\" width=\"1219\" height=\"695\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-126.png 1219w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-126-300x171.png 300w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-126-768x438.png 768w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-126-1024x584.png 1024w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-126-65x37.png 65w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-126-225x128.png 225w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-126-350x200.png 350w\" sizes=\"auto, (max-width: 1219px) 100vw, 1219px\" \/><\/a><\/p>\n<p style=\"text-align: justify\">Output and Inference:<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">The Ranks table provides some interesting data on the comparison of the condition of cancer patients in 2nd week and condition of cancer patients in 4th week after taking drugs. We can see from the table that the 3 patients\u2019 cancer condition had an improvement in the 2nd week. However, 17 patients\u2019 cancer condition got deteriorated in the 4th week after taking drugs and 6 patients\u2019 cancer condition remained the same both in the 2nd week and 4th week.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">By examining the final Test Statistics table, we can discover whether these changes, due to drugs, led overall to a statistically significant difference in cancer condition of the patients. The Asymp. Sig. (2-tailed) value is found to be statistically significant i.e. the p-value &lt; 0.05, which in this case is 0.005. Therefore, it can be concluded that there is significant difference between the condition of cancer patients at the end of 2nd week and at the end of 4th week after taking drugs. Therefore, Ho can be rejected.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong>1.2.3 Kruskal-Wallis Test<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">The Kruskal-Wallis test is a nonparametric test, and is used when the assumptions of one-way ANOVA are not met. Both the Kruskal-Wallis test and one-way ANOVA assess for significant differences on a continuous dependent variable by a categorical independent variable (with two or more groups). In the ANOVA, we assume that the dependent variable is normally distributed and there is approximately equal variance on the scores across groups. However, when using the Kruskal-Wallis Test, we do not have to make any of these assumptions. Therefore, the Kruskal-Wallis test can be used for both continuous and ordinal-level dependent variables. However, like most non-parametric tests, the Kruskal-Wallis Test is not as powerful as the ANOVA.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Example:<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">\u00a0A research team wants to test whether there is any difference in yield of plant based on seed varieties.<\/p>\n<div>\n<p>Formula:<\/p>\n<p><a href=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/chapter\/non-parametric-test-i-mean-ranks-mann-whitney-test-wilcoxon-test-kruskal-test-friedman\/untitled-185\/\" rel=\"attachment wp-att-373\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-373\" src=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-127.png\" alt=\"\" width=\"291\" height=\"71\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-127.png 291w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-127-65x16.png 65w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-127-225x55.png 225w\" sizes=\"auto, (max-width: 291px) 100vw, 291px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Where<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><em>n <\/em>= Number of sample sizes in all groups<\/p>\n<p style=\"text-align: justify\">\n<p style=\"text-align: justify\"><em>K <\/em>= Number of samples<\/p>\n<p style=\"text-align: justify\">\n<p style=\"text-align: justify\"><em>R<\/em><em>i<\/em> = Sum of ranks in the ith group<\/p>\n<p style=\"text-align: justify\">\n<p style=\"text-align: justify\"><em>n<\/em><em>i<\/em> = Sixe of the ith group<\/p>\n<p style=\"text-align: justify\">\n<p style=\"text-align: justify\">Conditions\/Assumptions:<\/p>\n<ul>\n<li>Samples drawn from the population are random.<\/li>\n<li>We also assume that the observations are independent of each other.<\/li>\n<li>The measurement scale for the dependent variable should be at least ordinal.<\/li>\n<\/ul>\n<p>Data Required:<\/p>\n<p>&nbsp;<\/p>\n<p>Ordinal scale, ratio scale or interval scale variables can be used.<\/p>\n<p>&nbsp;<\/p>\n<p>Procedure using SPSS:<\/p>\n<ul>\n<li>From the menu choose: Analyze \u2013 nonparametric tests \u2013 legacy dialogs \u2013 K independent Samples&#8230;<\/li>\n<li>Select the test variables (variables with numerical scale) and select the grouping variable<\/li>\n<li>Define the grouping variable<\/li>\n<li>Select test type as Kruskal-Wallis H<\/li>\n<li>Then click Ok<\/li>\n<\/ul>\n<\/div>\n<p style=\"text-align: justify\">Let us now practice Kruskal-Wallis Test using SPSS:<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Example: A research team wants to test whether there is any difference in cancer condition of patients after the 6th week based on their cancer stages.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">We have considered 4 stages in our sample data (Initial, serious, critical, and hopeless)<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong>Research Question: <\/strong>Is there any difference in cancer condition of patients after the 6th week based on their cancer stages?<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong>Hypotheses:<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong>H<\/strong><strong>0<\/strong><strong>: <\/strong>There is no significant difference in cancer condition of patients after 6 weeks based on cancer stages<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong>H<\/strong><strong>a<\/strong><strong>: <\/strong>There is significant difference in cancer condition of patients after 6 weeks based on cancer stages<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Let us use the sample file Non-Parametric Tests.sav.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong>Go to Analyse \u2013 Nonparametric tests \u2013 Legacy Dialogs \u2013 K Independent Samples<\/strong><\/p>\n<p><a href=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/chapter\/non-parametric-test-i-mean-ranks-mann-whitney-test-wilcoxon-test-kruskal-test-friedman\/untitled-186\/\" rel=\"attachment wp-att-374\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-374\" src=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-128.png\" alt=\"\" width=\"1209\" height=\"681\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-128.png 1209w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-128-300x169.png 300w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-128-768x433.png 768w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-128-1024x577.png 1024w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-128-65x37.png 65w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-128-225x127.png 225w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-128-350x197.png 350w\" sizes=\"auto, (max-width: 1209px) 100vw, 1209px\" \/><\/a><\/p>\n<p style=\"text-align: justify\"><strong>Select test variable as condition after 6 weeks, grouping variable as stage, define the grouping range and select test type Kruskal-Wallis H.<\/strong><\/p>\n<p><a href=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/chapter\/non-parametric-test-i-mean-ranks-mann-whitney-test-wilcoxon-test-kruskal-test-friedman\/untitled-187\/\" rel=\"attachment wp-att-375\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-375\" src=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-129.png\" alt=\"\" width=\"1205\" height=\"685\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-129.png 1205w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-129-300x171.png 300w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-129-768x437.png 768w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-129-1024x582.png 1024w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-129-65x37.png 65w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-129-225x128.png 225w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-129-350x199.png 350w\" sizes=\"auto, (max-width: 1205px) 100vw, 1205px\" \/><\/a><\/p>\n<p><strong>Then click Ok.<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong>The result will be displayed in the output screen of SPSS which is as follows:<a href=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/chapter\/non-parametric-test-i-mean-ranks-mann-whitney-test-wilcoxon-test-kruskal-test-friedman\/untitled-189\/\" rel=\"attachment wp-att-377\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-377\" src=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-131.png\" alt=\"\" width=\"1207\" height=\"689\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-131.png 1207w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-131-300x171.png 300w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-131-768x438.png 768w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-131-1024x585.png 1024w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-131-65x37.png 65w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-131-225x128.png 225w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-131-350x200.png 350w\" sizes=\"auto, (max-width: 1207px) 100vw, 1207px\" \/><\/a><br \/>\n<\/strong><\/p>\n<div>\n<p style=\"text-align: justify\">Output and Inference:<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">The Ranks table shows that there is difference in mean ranks of cancer conditions of patients after 6th week based on their cancer stages. Mean rank of patients in 3rd stage is higher, and lowest in 1st stage.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">A Kruskal-Wallis test showed that there was a statistically significant difference in cancer condition of patients after 6 weeks based on cancer stages. The chi-square value of 10.765 is found to be significant as the <em>p<\/em>-value &lt; 0.05. Therefore, it is inferred that H0 is rejected which means that there is significant difference in cancer condition of patients after 6 weeks based on cancer stages.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong>The last test of discussion is<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong>1.2.4 Friedman Test<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Friedman\u2019s test is a non-parametric test for finding differences in treatments across multiple attempts. Basically, it\u2019s used in place of the 2 way ANOVA test when you don\u2019t know the distribution of your data.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Example: A research wants to test if there is any difference in yield of various seed varieties.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Formula:<\/p>\n<p><a href=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/chapter\/non-parametric-test-i-mean-ranks-mann-whitney-test-wilcoxon-test-kruskal-test-friedman\/untitled-190\/\" rel=\"attachment wp-att-378\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-378\" src=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-132.png\" alt=\"\" width=\"665\" height=\"163\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-132.png 665w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-132-300x74.png 300w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-132-65x16.png 65w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-132-225x55.png 225w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-132-350x86.png 350w\" sizes=\"auto, (max-width: 665px) 100vw, 665px\" \/><\/a><\/p>\n<p style=\"text-align: justify\">Where<\/p>\n<p style=\"text-align: justify\">\n<p style=\"text-align: justify\"><em>c <\/em>= Number of treatment levels (columns)<\/p>\n<p style=\"text-align: justify\">\n<p style=\"text-align: justify\"><em>b <\/em>= Number of blocks (rows)<\/p>\n<p style=\"text-align: justify\">\n<p style=\"text-align: justify\"><em>R<\/em><em>i<\/em> = Total ranks for a particular treatment level<\/p>\n<p style=\"text-align: justify\">\n<p style=\"text-align: justify\"><em>j <\/em>= Particular treatment level<\/p>\n<\/div>\n<div>\n<p style=\"text-align: justify\">Conditions\/Assumptions:<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">We assume that the samples drawn from the population are random.<\/p>\n<ul>\n<li>Data should be ordinal (e.g. the Likert scale) or continuous.<\/li>\n<li>Data comes from a single group, measured on at least three different occasions.<\/li>\n<li>The sample was created with a random sampling method.<\/li>\n<li>Blocks are mutually independent (i.e. all of the pairs are independent &#8211; one doesn\u2019t affect the other).<\/li>\n<li>Observations are ranked within blocks with no ties.<\/li>\n<\/ul>\n<p>Data Required:<\/p>\n<ul>\n<li>Data should be ordinal (e.g. the Likert scale) or continuous. Procedure using SPSS:<\/li>\n<\/ul>\n<ol>\n<li>From the menu choose: Analyze \u2013 nonparametric tests \u2013 legacy dialogs \u2013 K Related Samples&#8230;<\/li>\n<li>Select the test variables<\/li>\n<li>Select test type as Kruskal-Wallis H<\/li>\n<li>Then click Ok<\/li>\n<\/ol>\n<p>Let us practice Friedman Test using SPSS:<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Example: A research team wants to test whether there is any difference in the 4 groups of cancer conditions i.e. initial condition, condition after 2 weeks, condition after 4 weeks, and condition after 6 weeks.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong>Research Question: <\/strong>Is there any difference in the 4 groups of cancer conditions i.e. initial condition, condition after 2 weeks, condition after 4 weeks, and condition after 6 weeks?<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong>Hypotheses:<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong>H<\/strong><strong>0<\/strong><strong>: <\/strong>There is no significant difference in the 4 groups of cancer conditions i.e. initial condition, condition after 2 weeks, condition after 4 weeks, and condition after 6 weeks<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong style=\"text-align: initial;font-size: 1em\">Ha: <\/strong><span style=\"text-align: initial;font-size: 1em\">There is significant difference in the 4 groups of cancer conditions i.e. initial condition, condition after 2 weeks, condition after 4 weeks, and condition after 6 weeks<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Let us use the sample file Non-Parametric Tests.sav.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Go to Analyse \u2013 Nonparametric tests \u2013 Legacy Dialogs \u2013 K Related Samples<\/span><\/p>\n<p><a href=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/chapter\/non-parametric-test-i-mean-ranks-mann-whitney-test-wilcoxon-test-kruskal-test-friedman\/untitled-191\/\" rel=\"attachment wp-att-379\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-379\" src=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-133.png\" alt=\"\" width=\"1209\" height=\"693\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-133.png 1209w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-133-300x172.png 300w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-133-768x440.png 768w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-133-1024x587.png 1024w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-133-65x37.png 65w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-133-225x129.png 225w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-133-350x201.png 350w\" sizes=\"auto, (max-width: 1209px) 100vw, 1209px\" \/><\/a><\/p>\n<p style=\"text-align: justify\"><strong>Select test variables as initial condition, condition after 2 weeks, condition after 4 weeks, and condition after 6 weeks and select test type as Friedman.<\/strong><\/p>\n<p><a href=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/chapter\/non-parametric-test-i-mean-ranks-mann-whitney-test-wilcoxon-test-kruskal-test-friedman\/untitled-192\/\" rel=\"attachment wp-att-380\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-380\" src=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-134.png\" alt=\"\" width=\"1215\" height=\"731\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-134.png 1215w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-134-300x180.png 300w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-134-768x462.png 768w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-134-1024x616.png 1024w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-134-65x39.png 65w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-134-225x135.png 225w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-134-350x211.png 350w\" sizes=\"auto, (max-width: 1215px) 100vw, 1215px\" \/><\/a><\/p>\n<p style=\"text-align: justify\"><strong>Then click Ok.<\/strong><\/p>\n<p style=\"text-align: justify\">\n<p style=\"text-align: justify\"><strong>The result will be displayed in the output screen of SPSS which is as follows:<\/strong><\/p>\n<p><a href=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/chapter\/non-parametric-test-i-mean-ranks-mann-whitney-test-wilcoxon-test-kruskal-test-friedman\/untitled-193\/\" rel=\"attachment wp-att-381\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-381\" src=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-135.png\" alt=\"\" width=\"1213\" height=\"681\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-135.png 1213w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-135-300x168.png 300w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-135-768x431.png 768w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-135-1024x575.png 1024w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-135-65x36.png 65w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-135-225x126.png 225w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-135-350x196.png 350w\" sizes=\"auto, (max-width: 1213px) 100vw, 1213px\" \/><\/a><\/p>\n<p>Output and Inference:<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">The Ranks table shows the mean rank for each of the related groups. The Friedman test compares the mean ranks between the related groups and indicates how the groups differed. Mean rank of cancer at initial condition is 1.42, condition after 2 weeks is 2.40, condition after 4 weeks is 3.29 and condition after 6 weeks is 2.88. Based on the observed mean ranks of the groups it is inferred that there is difference among the groups.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">The Test Statistics table informs the actual result of the Friedman test, and whether there is significant difference between the mean ranks of related groups. From our example, we can see that the <em>p<\/em>-value of chi-square statistics (34.95) was found to be statistically significant at the 5% level (p-value &lt; 0.05) <strong>Therefore, H<\/strong><strong>0<\/strong> <strong>is rejected which means that there is<\/strong> <strong>significant difference in the 4 groups of cancer conditions i.e. initial condition, condition after 2 weeks, condition after 4 weeks, and condition after 6 weeks.<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong>1.3 Conclusion<\/strong><\/p>\n<p style=\"text-align: justify\">\n<p style=\"text-align: justify\">We have seen that non-parametric tests are applicable when data are not normally distributed.<\/p>\n<p style=\"text-align: justify\">However, non-parametric tests can be applied when data is both normal and non-normal.<\/p>\n<p style=\"text-align: justify\">There are certain non parametric test which examines difference in means such as <strong>Mann\u00a0<\/strong><strong>Whitney Test, Kruskal-Wallis Test, Wilcoxon Signed Rank Testand Friedman Test. Certain other non-parametric test is used to examine the difference in medians such as<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Sign Test, McNemar Test, Cochran Q Test and others.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">We have discussed the non-parametric tests based on means in this session.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Non-parametric test are advantageous for the reasons that<\/p>\n<ul>\n<li>Assumptions on Population is immaterial<\/li>\n<li>No much statistical knowledge required<\/li>\n<li>Test results are not affected by outliers (extreme values) as they rely on sign or mean ranks.<\/li>\n<li>Can be used for small or large sample<\/li>\n<\/ul>\n<p>However, they lack importance among researchers for the following reasons:<\/p>\n<ul>\n<li style=\"text-align: justify\">Results do not convey much about actual differences in a population as it is distribution \u2013free.<\/li>\n<li style=\"text-align: justify\">In case of large sample, computations are complicated.<\/li>\n<li style=\"text-align: justify\">It is practically difficult to do modeling using multiple regressions.<\/li>\n<\/ul>\n<p style=\"text-align: justify\">\n<p style=\"text-align: justify\">Therefore, researchers shall be cautious before non-parametric tests as they have less statistical powerful when compared to parametric tests. They need to apply only when situation demands the use of non-parametric test.<\/p>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"author":8,"menu_order":41,"template":"","meta":{"_acf_changed":false,"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":["dr-k-ramya"],"pb_section_license":""},"chapter-type":[],"contributor":[73],"license":[],"class_list":["post-359","chapter","type-chapter","status-publish","hentry","contributor-dr-k-ramya"],"part":3,"_links":{"self":[{"href":"https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-json\/pressbooks\/v2\/chapters\/359","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-json\/wp\/v2\/users\/8"}],"version-history":[{"count":3,"href":"https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-json\/pressbooks\/v2\/chapters\/359\/revisions"}],"predecessor-version":[{"id":384,"href":"https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-json\/pressbooks\/v2\/chapters\/359\/revisions\/384"}],"part":[{"href":"https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-json\/pressbooks\/v2\/parts\/3"}],"metadata":[{"href":"https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-json\/pressbooks\/v2\/chapters\/359\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-json\/wp\/v2\/media?parent=359"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-json\/pressbooks\/v2\/chapter-type?post=359"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-json\/wp\/v2\/contributor?post=359"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-json\/wp\/v2\/license?post=359"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}