{"id":385,"date":"2019-08-02T08:46:56","date_gmt":"2019-08-02T08:46:56","guid":{"rendered":"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/?post_type=chapter&#038;p=385"},"modified":"2019-08-02T08:49:21","modified_gmt":"2019-08-02T08:49:21","slug":"non-parametric-test-ii-counts-or-percent-chi-square-mc-nemar-test-cocharn-q-test-spearman-correlation","status":"publish","type":"chapter","link":"https:\/\/ebooks.inflibnet.ac.in\/hsp16\/chapter\/non-parametric-test-ii-counts-or-percent-chi-square-mc-nemar-test-cocharn-q-test-spearman-correlation\/","title":{"rendered":"Non \u2013parametric test II \u2013 counts or percent, chi square, Mc Nemar test, Cocharn Q test, Spearman correlation."},"content":{"raw":"<div><span style=\"float: right\"><a href=\"https:\/\/youtu.be\/F0cLr00HDyo\" target=\"_blank\" rel=\"noopener\"><img src=\"http:\/\/epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/2018\/11\/download.png\" alt=\"epgp books\" width=\"75px\" height=\"75px;\" \/><\/a>\r\n<\/span><\/div>\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n<div>\r\n<p style=\"text-align: justify\"><strong>Introduction<\/strong><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">The real life situations, there are a number of occasions when the universe distribution is not normal. Hence to test hypothesis relating to non-normal populations, there is a necessity to develop a different group of tests which are not based on the too restrictive assumptions. Such tests which are free from distribution are called Non-Parametric tests. In addition to the above, chi-square test enables one to find out the significance of difference between two or more population proportions. When the dependent variable samples are continuous in nature, then the sign and Wilcoxon tests are appropriate for two dependent sample studies. Count means determine the total number of collected items. Sometimes the investigator may be interested in finding out whether to qualitative characters tend to occur together in a given population.<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong>Non-Parametric Test<\/strong><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">These non-parametric tests can always address situations where the data are nominal in nature like increase, decrease, no change, or ordinal like ranked. The non-parametric tests in that sense are now strengthening the hands of statisticians to analyzer and explain and type of situation distribution based or distribution free. As regards the historical background about non-parametric tests, it could be stated that the Chi-square test developed by karl Pearson in 1900 was the earliest of non-parametric tests formulated. This was followed by the contributions of several statisticians like spearman, with rank correlation tests, which became popular after Harold Hotelling who used the rank correlation coefficients in 1936. It was in 1945 when wilcozxon developed a test for two sample cases, the real growth of non-parametric tests started taking place.<\/p>\r\n&nbsp;\r\n\r\n<strong>Advantages in using the non-parametric tests are<\/strong>:\r\n<ol>\r\n \t<li style=\"text-align: justify\">They are not dependent on the nature of distribution of the population.<\/li>\r\n \t<li style=\"text-align: justify\">They are simple to understand and easy to apply\/<\/li>\r\n \t<li style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">They are less time consuming and once the result is statistically significant, no further ork is necessary.<\/span><\/li>\r\n \t<li style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">They are very useful to researchers where the sample size is very small and adequate data from samples cannot be compiled.<\/span><\/li>\r\n \t<li style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">They are amenable for application for any type of data \u2013qualitative, quantitative or ranked. f)They are not based on very restrictive assumptions and in the case of parametric tests.<\/span><\/li>\r\n<\/ol>\r\n<p style=\"text-align: justify\"><strong style=\"text-align: initial;font-size: 1em\">Chi square test<\/strong><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Karl Pearson in 1900 developed a statistic procedure for testing the significance of discrepancy between experimental values and theoretical values obtained under some theory or hypothesis. This test is known as <\/span><strong style=\"text-align: initial;font-size: 1em\">\u1d61<\/strong><strong style=\"text-align: initial;font-size: 1em\">2<\/strong><span style=\"text-align: initial;font-size: 1em\"> (chi-square) test. It is a test of goodness of fit and is used to find whether the deviation between observation and theory may be attributable to change or any other factor. Chi-square test is applicable to enumeration data and not to data collected on measurements on continuous scale .<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong style=\"text-align: initial;font-size: 1em\">Data applicable to Chi square Test<\/strong><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong style=\"text-align: initial;font-size: 1em\">1 Qualitative or categorical variables<\/strong><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">There are a number of qualitative variables inhuman populations such as colour of the skin, eye, hair, etc. The individuals possessing these characters are counted and the number of occurrences in the sample is given in the form of frequency. These characteristics are expected to occur in certain frequencies, called as expected frequencies. Similarly, there are a number of categorical variables such as blood group education level, employment level, etc. These variables are categorized and the number of individuals possessing these characters is counted and the numbers of occurrences in the sample is given in the form of frequency against each category.<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">For example number of persons with the same blood group are counted and given against each category like A,B.AB and O.<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong style=\"text-align: initial;font-size: 1em\">ii) Qualitative or categorical variables given in contingency table<\/strong><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Sometimes the investigator may be interested in finding out whether to qualitative characters tend to occur together in a given population. In such a case, the individuals are counted for the presence or absence of to specific characters and are given in the form of a contingency table 1<\/span><\/p>\r\n\r\n<\/div>\r\n<div>\r\n\r\n&nbsp;\r\n\r\nTable 1\r\n\r\n<a href=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/chapter\/non-parametric-test-ii-counts-or-percent-chi-square-mc-nemar-test-cocharn-q-test-spearman-correlation\/untitled-194\/\" rel=\"attachment wp-att-386\"><img class=\"aligncenter size-full wp-image-386\" src=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-136.png\" alt=\"\" width=\"550\" height=\"100\" \/><\/a>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">The table 1 presented in the form of a table with variables, one each in row and column and under each category the observations are placed in two categories. This table is a 2x2 contingency table, since data are presented in two rows and to columns. Depending upon the number o categories for each variable the number of rows and columns vary. iii) Qualitative or categorical variables in the form of proportions<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">A demographer may be interested in finding out whether the proportion of material status of men in four different cities is the same. He counts the number of persons \u2013 married and single and presents it in the form of proportions like married \/ Total and single \/total against each city.<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">Conditions for validity of Chi-square test Chi-square test can be used only if the following conditions are satisfied<\/p>\r\n\r\n<ol>\r\n \t<li style=\"text-align: justify\">\u2018N\u2019 the total frequency should be reasonably large, say greater than 50.<\/li>\r\n \t<li style=\"text-align: justify\">the observations in the sample should be independent. This means no individual item should be included twice or more in the sample.<\/li>\r\n \t<li style=\"text-align: justify\">No theoretical frequency should be small. Preferably, each theoretical frequency should be larger than 10 but should not be less than 5.<\/li>\r\n \t<li style=\"text-align: justify\">The data should be given in original unit<\/li>\r\n<\/ol>\r\n<p style=\"text-align: justify\"><strong>Application of Chi-square Test<\/strong><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong>i) Chi \u2013square test of goodness of fit or chi \u2013square test with a priori hypothesis.<\/strong><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Goodness of fit is a generic term used to indicate how far an observed frequency distribution fits ell with the expected frequency distribution based on some theory or expectation. Since the expected frequencies are calculated based on some theory or hypothesis, it is also called Chi \u2013 square test with a priori hypothesis.<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong style=\"text-align: initial;font-size: 1em\">In this case the null hypothesis(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\">is \u201c there is no difference between observed frequency and expected frequency\u201d . The alternate hypothesis (HA) is \u201cthere is difference between observed frequency and expected frequency.<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">ii)Chi Square test for association between attributes or independence of attributes or chi-square test without a priori hypothesis. It is used to find whether two characters have the tendency to remain together or remain independently. For example, whether a patient suffering from a disease is cured because of the drug or the recovery from illness is independent of the drug. In this case, the frequencies are given with the form of a contingency table.<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Hence, the null hypothesis (H0) is \u201c There is no association between two characters\u201d. i.e.,the drug id not effective in curing the disease. The alternate hypothesis is \u201cThere is association between the two characters\u201d. i.e., the drug is effective in curing the disease.<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong style=\"text-align: initial;font-size: 1em\">iii)\u00a0\u00a0 <\/strong><strong style=\"text-align: initial;font-size: 1em\">Chi-square test to test the equality of proportions.<\/strong><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">As stated if an investigator is interested in finding out whether the proportion of married men is same in four major cities. The null hypothesis (H0) is \u201cThe proportion of married men is the same in four major cities. The alternate hypothesis (HA) is \u201c The proportion of married men is not the same in four major cities.<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong style=\"text-align: initial;font-size: 1em\">iv) Chi-square test of homogeneity<\/strong><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">sometimes e need to compare samples taken from two population differeing in some characters. For example samples are drawn from two population namely \u201cnormal\u201d and liver disease patients\u2019; these to samples are then classified into two:<\/span><\/p>\r\n\r\n<ul>\r\n \t<li style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Persons with hepatitis and<\/span><\/li>\r\n \t<li style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Persons without hepatitis<\/span><\/li>\r\n<\/ul>\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Here Chi-square is used to find out whether two populations from where the samples ere taken are homogenous or not. In this case the null hypothesis (H0) is \u201cThe two population s from here\u00a0<\/span><span style=\"text-align: initial;font-size: 1em\">the samples are drawn are homogenous\u201d. The alternate hypothesis is \u201c The two populations from where the samples are drawn are not homogenous\u201d. The alternate hypothesis is \u201cThe two populations from here the samples are drawn are not homogenous\u201d.<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Though, four different applications are given for <\/span><strong style=\"text-align: initial;font-size: 1em\">\u1d61<\/strong><strong style=\"text-align: initial;font-size: 1em\">2<\/strong><span style=\"text-align: initial;font-size: 1em\"> test, all these tests are basically same as these tests find whether the observed frequency fits well with expected frequency i.e., null hypothesis (H0)= Oi \u2013 Ei = 0 but the statement of null hypothesis differs.<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong style=\"text-align: initial;font-size: 1em\">Procedure to carry out Chi-square Test<\/strong><\/p>\r\n\r\n<ol>\r\n \t<li style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Propose Null and Alternate hypothesis<\/span><\/li>\r\n \t<li style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">calculate expected frequeicies<\/span><\/li>\r\n \t<li style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Find the deviations between expected and observed frequeicies.<\/span><\/li>\r\n \t<li style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Square the deviations and divide by respective edpected frequeicies<\/span><\/li>\r\n \t<li style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">substitute in the formula<\/span><\/li>\r\n \t<li style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Write the degrees of freedom<\/span><\/li>\r\n \t<li style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Refer the tabulated <\/span><strong style=\"text-align: initial;font-size: 1em\">\u1d61<\/strong><strong style=\"text-align: initial;font-size: 1em\">2<\/strong> <strong style=\"text-align: initial;font-size: 1em\">test<\/strong><span style=\"text-align: initial;font-size: 1em\"> values for the specified degrees of freedom at 0.01 (or 0.)1)<\/span><\/li>\r\n<\/ol>\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">\u00a0 Probability level Compare calculated chi-square values with tabulated chi-square values The above procedure is routinely done to work out any problem manually or with calculator. But when we use SPSS, there is no need to do any of the steps from ii- viii, we need to propose the hypotheses, enter the data correctly run the analysis and interpret the results.<\/span><\/p>\r\n\r\n<\/div>\r\n<div>\r\n\r\n&nbsp;\r\n\r\nTable 2\r\n\r\n<a href=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/chapter\/non-parametric-test-ii-counts-or-percent-chi-square-mc-nemar-test-cocharn-q-test-spearman-correlation\/untitled-195\/\" rel=\"attachment wp-att-387\"><img class=\"aligncenter size-full wp-image-387\" src=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-137.png\" alt=\"\" width=\"550\" height=\"164\" \/><\/a>\r\n<p style=\"text-align: justify\">a.0.cells (0.%) have expected count less thant 5.<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">The minimum expected count is 7.50<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong style=\"text-align: initial;font-size: 1em\">Output<\/strong><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">on table 2 gives the frequencies of blood groups in male and female in the table form for 3 degrees of freedom i.e (r-1) c-1)= (2-1) (4-1)= 3, the P-Value 0.852 is greater than 0.05. the difference is considered insignificant. The null hypothesis is accepted and therefore, there is no association between sex and blood group. In other words, the gender and blood groups are independent in human. Non-parametric significance tests which is used to calculate two dependent samples. The researcher would like to study correlated, or matched, samples. It includes the calculation of before-after effect and matched paired studies:<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong style=\"text-align: initial;font-size: 1em\">Mc Nemar\u2019s Test<\/strong><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Mc Nemar\u2019s test was fist time published by Psychometrika article in the 1947. Mc Nemar\u2019s test was created by Quinn McNemar. Who was a professor worked as a Psychology and statistics department at stand ford University. When a category of the sample is more than two, marginal homogeneity tests are appropriate; they are essentially an extension of the McNemar test for dependent samples.<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">In medical research, if a researcher wants to determine whether or not a particular drug has an effect on a disease (e.g., yes vs. no), then a count of the individuals is recorded (as + and \u2013 sign, or 0 and 1) in a table before and after being given the drug. Then, McNemar\u2019s test is applied which is help to take statistical decisions (using the Chi Square test statistic) as to whether or not a drug has an effect on the disease.<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">The Mc Nemar\u2019s test work out the following ways:<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">We have to assume that the row total is = (equal) to the column total.<\/span><\/p>\r\n\r\n<\/div>\r\n<div>\r\n\r\nIn other works is\r\n\r\n&nbsp;\r\n<p style=\"text-align: center\">(A+B) = (A+C)<\/p>\r\n<p style=\"text-align: center\">(C+D) = (B+D)<\/p>\r\n\r\n<\/div>\r\n<div>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">In this workout is cancel A and D equation and this implies that B=C. Through on this calculation explain the equation we will calculate the test as:<\/p>\r\n<a href=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/chapter\/non-parametric-test-ii-counts-or-percent-chi-square-mc-nemar-test-cocharn-q-test-spearman-correlation\/untitled-196\/\" rel=\"attachment wp-att-388\"><img class=\"aligncenter size-full wp-image-388\" src=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-138.png\" alt=\"\" width=\"265\" height=\"151\" \/><\/a>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong>Questions Answered:<\/strong><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">Is there a change in the proportion of voters prior to and following the press conference?<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">Does the proportion of success vs. failure significantly change after treatment?<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong>Hypothesis:<\/strong><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong>Null hypothesis: <\/strong>Assumes that the total rows are equal to the sum of columns. The mean of paired samples are equal and no (significant) change has occurred. for example, the null hypothesis assumes that the drug has no impact on disease.<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong>Alternative Hypothesis: <\/strong>Assumes that the total number of rows is not equal to the total number of columns, or that the paired sample means are not equal. In medical research, for example, alternative hypothesis assumes that the drug has an impact on the disease.<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong>COCHRAN\u2019s Q TEST<\/strong><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">It include two various statistical <strong>tests<\/strong>: <strong>Cochran's<\/strong> Q <strong>test<\/strong>, a non-parametric <strong>test<\/strong> which is applied to the Cochran test to <strong>analysis<\/strong> of two-way randomized block designs with the the help of binary respondent variable. Cochran's Q test is an extension to the McNemar test for related samples that provides a method for testing for differences between three or more matched sets of frequencies or proportions. Cocharan\u2019s Q tests whether the probability of a target response is\u00a0 equal across all condition, verify if k treatments have identical effects. Example: 12 subjects are asked to perform 3 tasks. The outcome of each task is a dichotomous value, success or failure.<\/p>\r\n\r\n<\/div>\r\n<a href=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/chapter\/non-parametric-test-ii-counts-or-percent-chi-square-mc-nemar-test-cocharn-q-test-spearman-correlation\/untitled-197\/\" rel=\"attachment wp-att-389\"><img class=\"aligncenter size-full wp-image-389\" src=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-139.png\" alt=\"\" width=\"1191\" height=\"603\" \/><\/a>\r\n<div>\r\n<p style=\"text-align: justify\"><strong>Cochran\u2019s Q test is base on the following assumptions<\/strong><\/p>\r\n\r\n<ol>\r\n \t<li style=\"text-align: justify\"><strong>A large sample approximation in particular, it assumes that b is \u201clarge\u201d<\/strong><\/li>\r\n \t<li style=\"text-align: justify\"><strong>The blocks (rows) were randomly selected from the population of all possible blocks.<\/strong><\/li>\r\n \t<li style=\"text-align: justify\"><strong>The outcomes of the treatments can be coded as binary responses ( ie 0 or 1) in a way that is common to all treatments within each block.<\/strong><\/li>\r\n<\/ol>\r\n<p style=\"text-align: justify\">For example the researcher who had collected the pet shop data wanted to examine wheter pet stores displayed different types of reptiles during different times of the year. So the researcher visited each of the 12 stores four times during the next year that were chosen because of their proximity to holidays, valentine\u2019s day, July 4 halloween and Christmas. During each visit, the researcher recorded if the shop displayed only snakes (coded=0) or both types of reptiles (coded=1)\u00a0<span style=\"text-align: initial;font-size: 1em\">In this analysis the one variable is the time of the year and the response variable is the type of reptiles displayed.<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong style=\"text-align: initial;font-size: 1em\">Research Hypothesis<\/strong><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">The researcher hypothesized that pet shops would be more likely to display both reptiles to Christmas than during the other times of the year\u00a0<\/span><span style=\"text-align: initial;font-size: 1em\">Ho= stores are equally likely to display both types of reptiles during all parts of the year\/<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong style=\"text-align: initial;font-size: 1em\">SPEARMAN\u2019S RANK CORRELATION<\/strong><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">This is one of the most popular non parametric tests. In this test the difference between the ranks of one of one sample and the other is computed and based on the difference which is squared, the correlation is computed. Then the standard error of the rank correlation coefficient is calculated with the help of this formula<a href=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/chapter\/non-parametric-test-ii-counts-or-percent-chi-square-mc-nemar-test-cocharn-q-test-spearman-correlation\/untitled-198\/\" rel=\"attachment wp-att-390\"><img class=\"aligncenter size-full wp-image-390\" src=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-140.png\" alt=\"\" width=\"533\" height=\"139\" \/><\/a><\/span><\/p>\r\n\r\n<\/div>\r\n<p style=\"text-align: justify\">This process is followed when the number of items in a sample is less than 30. When the sample size is greater than 30, then the following process will have to be followed to test the results of rank correlation.<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">Example 1. A health organization studies a problem relating to the relationship between air quality and the evidence of pulmonary related diseases. The details are given below test the hypothesis that there is no correlation between air quality and pulmonary related diseases<\/p>\r\n<a href=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/chapter\/non-parametric-test-ii-counts-or-percent-chi-square-mc-nemar-test-cocharn-q-test-spearman-correlation\/untitled-199\/\" rel=\"attachment wp-att-391\"><img class=\"aligncenter size-full wp-image-391\" src=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-141.png\" alt=\"\" width=\"481\" height=\"236\" \/><\/a>\r\n<p style=\"text-align: justify\">Now the rank correlation is found using the formula<\/p>\r\n<a href=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/chapter\/non-parametric-test-ii-counts-or-percent-chi-square-mc-nemar-test-cocharn-q-test-spearman-correlation\/untitled-200\/\" rel=\"attachment wp-att-392\"><img class=\"aligncenter size-full wp-image-392\" src=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-142.png\" alt=\"\" width=\"228\" height=\"118\" \/><\/a>\r\n<div>\r\n<p style=\"text-align: justify\">The rank correlation answer 0.736 suggests a substantial positive association between average air quality and the occurrence of pulmonary diseases in the selected eleven cities. To test the hypothesis set for this problem Using the table value for the sample size \u2013 11, it could be noted that the critical value for r lies between +0.6091 and -0.6091. Since the calculated value of rank correlation lies outside the limit, we reject the null hypothesis; hence, there is relationship between air quality and occurrence of pulmonary diseases.<\/p>\r\n&nbsp;\r\n\r\n<strong>Conclusion<\/strong>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">Non-parametric significance tests which is used to calculate two dependent samples. . I In the chochran\u2019s Q test <strong>The outcomes of the treatments can be coded as binary responses\u00a0<\/strong><strong>( ie 0 or 1) in a way that is common to all treatments within each block. <\/strong>Since the calculated value of rank correlation lies outside the limit, we reject the null hypothesis. The adoption of research methodology find out testing the hypothesis was redesigned to enable our research\u00a0<span style=\"text-align: initial;font-size: 1em\">team to efficiently measure health related quality. The q test s a test the management capability with the use of software which is used by small as well as large scale organisation. The Non-parametric test assesses which is a statistically significant change in proportions have occurred. The McNemar test is the best test for dichotomous variables with two dependent sample studies. Hence, there is relationship between air quality and occurrence of pulmonary diseases. So the application of non-parametric test is more useful in to find out the solution to the problems.<\/span><\/p>\r\n\r\n<\/div>\r\n<table style=\"width: 824px\">\r\n<tbody>\r\n<tr>\r\n<td style=\"width: 754.063px\"><strong>you can view video on Non \u2013parametric test II \u2013 counts or percent, chi square, Mc Nemar test, Cocharn Q test, Spearman correlation. <\/strong><\/td>\r\n<td style=\"width: 41.0625px\"><a href=\"https:\/\/youtu.be\/F0cLr00HDyo\" target=\"_blank\" rel=\"noopener\"><img class=\"alignnone wp-image-120\" src=\"http:\/\/epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/2018\/11\/download.png\" alt=\"\" width=\"36\" height=\"36\" \/><\/a><\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n&nbsp;\r\n\r\n<strong>Web links<\/strong>\r\n<ul>\r\n \t<li style=\"text-align: justify\">https:\/\/www.investopedia.com\/terms\/c\/chi-square-statistic.asp<\/li>\r\n \t<li style=\"text-align: justify\">https:\/\/www.medcalc.org\/manual\/cochranq.php<\/li>\r\n \t<li style=\"text-align: justify\">https:\/\/statistics.laerd.com\/statistical-guides\/spearmans-rank-order-correlation-statistical-guide.php<\/li>\r\n \t<li style=\"text-align: justify\">http:\/\/www.biostathandbook.com\/spearman.html<\/li>\r\n \t<li style=\"text-align: justify\">http:\/\/study.com\/academy\/lesson\/chi-square-definition-analysis.html<\/li>\r\n \t<li style=\"text-align: justify\">http:\/\/www.itl.nist.gov\/div898\/software\/dataplot\/refman1\/auxillar\/cochran.htm https:\/\/ncss-<\/li>\r\n \t<li style=\"text-align: justify\">wpengine.netdnassl.com\/wpcontent\/themes\/ncss\/pdf\/Procedures\/NCSS\/Cochrans_Q_Test.pdf<\/li>\r\n \t<li style=\"text-align: justify\">https:\/\/www.wikihow.com\/Calculate-Spearman%27s-Rank-Correlation-Coefficient<\/li>\r\n<\/ul>","rendered":"<div><span style=\"float: right\"><a href=\"https:\/\/youtu.be\/F0cLr00HDyo\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" src=\"http:\/\/epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/2018\/11\/download.png\" alt=\"epgp books\" width=\"75px\" height=\"75px;\" \/><\/a><br \/>\n<\/span><\/div>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<div>\n<p style=\"text-align: justify\"><strong>Introduction<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">The real life situations, there are a number of occasions when the universe distribution is not normal. Hence to test hypothesis relating to non-normal populations, there is a necessity to develop a different group of tests which are not based on the too restrictive assumptions. Such tests which are free from distribution are called Non-Parametric tests. In addition to the above, chi-square test enables one to find out the significance of difference between two or more population proportions. When the dependent variable samples are continuous in nature, then the sign and Wilcoxon tests are appropriate for two dependent sample studies. Count means determine the total number of collected items. Sometimes the investigator may be interested in finding out whether to qualitative characters tend to occur together in a given population.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong>Non-Parametric Test<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">These non-parametric tests can always address situations where the data are nominal in nature like increase, decrease, no change, or ordinal like ranked. The non-parametric tests in that sense are now strengthening the hands of statisticians to analyzer and explain and type of situation distribution based or distribution free. As regards the historical background about non-parametric tests, it could be stated that the Chi-square test developed by karl Pearson in 1900 was the earliest of non-parametric tests formulated. This was followed by the contributions of several statisticians like spearman, with rank correlation tests, which became popular after Harold Hotelling who used the rank correlation coefficients in 1936. It was in 1945 when wilcozxon developed a test for two sample cases, the real growth of non-parametric tests started taking place.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Advantages in using the non-parametric tests are<\/strong>:<\/p>\n<ol>\n<li style=\"text-align: justify\">They are not dependent on the nature of distribution of the population.<\/li>\n<li style=\"text-align: justify\">They are simple to understand and easy to apply\/<\/li>\n<li style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">They are less time consuming and once the result is statistically significant, no further ork is necessary.<\/span><\/li>\n<li style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">They are very useful to researchers where the sample size is very small and adequate data from samples cannot be compiled.<\/span><\/li>\n<li style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">They are amenable for application for any type of data \u2013qualitative, quantitative or ranked. f)They are not based on very restrictive assumptions and in the case of parametric tests.<\/span><\/li>\n<\/ol>\n<p style=\"text-align: justify\"><strong style=\"text-align: initial;font-size: 1em\">Chi square test<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Karl Pearson in 1900 developed a statistic procedure for testing the significance of discrepancy between experimental values and theoretical values obtained under some theory or hypothesis. This test is known as <\/span><strong style=\"text-align: initial;font-size: 1em\">\u1d61<\/strong><strong style=\"text-align: initial;font-size: 1em\">2<\/strong><span style=\"text-align: initial;font-size: 1em\"> (chi-square) test. It is a test of goodness of fit and is used to find whether the deviation between observation and theory may be attributable to change or any other factor. Chi-square test is applicable to enumeration data and not to data collected on measurements on continuous scale .<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong style=\"text-align: initial;font-size: 1em\">Data applicable to Chi square Test<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong style=\"text-align: initial;font-size: 1em\">1 Qualitative or categorical variables<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">There are a number of qualitative variables inhuman populations such as colour of the skin, eye, hair, etc. The individuals possessing these characters are counted and the number of occurrences in the sample is given in the form of frequency. These characteristics are expected to occur in certain frequencies, called as expected frequencies. Similarly, there are a number of categorical variables such as blood group education level, employment level, etc. These variables are categorized and the number of individuals possessing these characters is counted and the numbers of occurrences in the sample is given in the form of frequency against each category.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">For example number of persons with the same blood group are counted and given against each category like A,B.AB and O.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong style=\"text-align: initial;font-size: 1em\">ii) Qualitative or categorical variables given in contingency table<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Sometimes the investigator may be interested in finding out whether to qualitative characters tend to occur together in a given population. In such a case, the individuals are counted for the presence or absence of to specific characters and are given in the form of a contingency table 1<\/span><\/p>\n<\/div>\n<div>\n<p>&nbsp;<\/p>\n<p>Table 1<\/p>\n<p><a href=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/chapter\/non-parametric-test-ii-counts-or-percent-chi-square-mc-nemar-test-cocharn-q-test-spearman-correlation\/untitled-194\/\" rel=\"attachment wp-att-386\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-386\" src=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-136.png\" alt=\"\" width=\"550\" height=\"100\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-136.png 550w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-136-300x55.png 300w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-136-65x12.png 65w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-136-225x41.png 225w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-136-350x64.png 350w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">The table 1 presented in the form of a table with variables, one each in row and column and under each category the observations are placed in two categories. This table is a 2&#215;2 contingency table, since data are presented in two rows and to columns. Depending upon the number o categories for each variable the number of rows and columns vary. iii) Qualitative or categorical variables in the form of proportions<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">A demographer may be interested in finding out whether the proportion of material status of men in four different cities is the same. He counts the number of persons \u2013 married and single and presents it in the form of proportions like married \/ Total and single \/total against each city.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Conditions for validity of Chi-square test Chi-square test can be used only if the following conditions are satisfied<\/p>\n<ol>\n<li style=\"text-align: justify\">\u2018N\u2019 the total frequency should be reasonably large, say greater than 50.<\/li>\n<li style=\"text-align: justify\">the observations in the sample should be independent. This means no individual item should be included twice or more in the sample.<\/li>\n<li style=\"text-align: justify\">No theoretical frequency should be small. Preferably, each theoretical frequency should be larger than 10 but should not be less than 5.<\/li>\n<li style=\"text-align: justify\">The data should be given in original unit<\/li>\n<\/ol>\n<p style=\"text-align: justify\"><strong>Application of Chi-square Test<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong>i) Chi \u2013square test of goodness of fit or chi \u2013square test with a priori hypothesis.<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Goodness of fit is a generic term used to indicate how far an observed frequency distribution fits ell with the expected frequency distribution based on some theory or expectation. Since the expected frequencies are calculated based on some theory or hypothesis, it is also called Chi \u2013 square test with a priori hypothesis.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong style=\"text-align: initial;font-size: 1em\">In this case the null hypothesis(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\">is \u201c there is no difference between observed frequency and expected frequency\u201d . The alternate hypothesis (HA) is \u201cthere is difference between observed frequency and expected frequency.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">ii)Chi Square test for association between attributes or independence of attributes or chi-square test without a priori hypothesis. It is used to find whether two characters have the tendency to remain together or remain independently. For example, whether a patient suffering from a disease is cured because of the drug or the recovery from illness is independent of the drug. In this case, the frequencies are given with the form of a contingency table.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Hence, the null hypothesis (H0) is \u201c There is no association between two characters\u201d. i.e.,the drug id not effective in curing the disease. The alternate hypothesis is \u201cThere is association between the two characters\u201d. i.e., the drug is effective in curing the disease.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong style=\"text-align: initial;font-size: 1em\">iii)\u00a0\u00a0 <\/strong><strong style=\"text-align: initial;font-size: 1em\">Chi-square test to test the equality of proportions.<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">As stated if an investigator is interested in finding out whether the proportion of married men is same in four major cities. The null hypothesis (H0) is \u201cThe proportion of married men is the same in four major cities. The alternate hypothesis (HA) is \u201c The proportion of married men is not the same in four major cities.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong style=\"text-align: initial;font-size: 1em\">iv) Chi-square test of homogeneity<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">sometimes e need to compare samples taken from two population differeing in some characters. For example samples are drawn from two population namely \u201cnormal\u201d and liver disease patients\u2019; these to samples are then classified into two:<\/span><\/p>\n<ul>\n<li style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Persons with hepatitis and<\/span><\/li>\n<li style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Persons without hepatitis<\/span><\/li>\n<\/ul>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Here Chi-square is used to find out whether two populations from where the samples ere taken are homogenous or not. In this case the null hypothesis (H0) is \u201cThe two population s from here\u00a0<\/span><span style=\"text-align: initial;font-size: 1em\">the samples are drawn are homogenous\u201d. The alternate hypothesis is \u201c The two populations from where the samples are drawn are not homogenous\u201d. The alternate hypothesis is \u201cThe two populations from here the samples are drawn are not homogenous\u201d.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Though, four different applications are given for <\/span><strong style=\"text-align: initial;font-size: 1em\">\u1d61<\/strong><strong style=\"text-align: initial;font-size: 1em\">2<\/strong><span style=\"text-align: initial;font-size: 1em\"> test, all these tests are basically same as these tests find whether the observed frequency fits well with expected frequency i.e., null hypothesis (H0)= Oi \u2013 Ei = 0 but the statement of null hypothesis differs.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong style=\"text-align: initial;font-size: 1em\">Procedure to carry out Chi-square Test<\/strong><\/p>\n<ol>\n<li style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Propose Null and Alternate hypothesis<\/span><\/li>\n<li style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">calculate expected frequeicies<\/span><\/li>\n<li style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Find the deviations between expected and observed frequeicies.<\/span><\/li>\n<li style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Square the deviations and divide by respective edpected frequeicies<\/span><\/li>\n<li style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">substitute in the formula<\/span><\/li>\n<li style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Write the degrees of freedom<\/span><\/li>\n<li style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Refer the tabulated <\/span><strong style=\"text-align: initial;font-size: 1em\">\u1d61<\/strong><strong style=\"text-align: initial;font-size: 1em\">2<\/strong> <strong style=\"text-align: initial;font-size: 1em\">test<\/strong><span style=\"text-align: initial;font-size: 1em\"> values for the specified degrees of freedom at 0.01 (or 0.)1)<\/span><\/li>\n<\/ol>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">\u00a0 Probability level Compare calculated chi-square values with tabulated chi-square values The above procedure is routinely done to work out any problem manually or with calculator. But when we use SPSS, there is no need to do any of the steps from ii- viii, we need to propose the hypotheses, enter the data correctly run the analysis and interpret the results.<\/span><\/p>\n<\/div>\n<div>\n<p>&nbsp;<\/p>\n<p>Table 2<\/p>\n<p><a href=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/chapter\/non-parametric-test-ii-counts-or-percent-chi-square-mc-nemar-test-cocharn-q-test-spearman-correlation\/untitled-195\/\" rel=\"attachment wp-att-387\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-387\" src=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-137.png\" alt=\"\" width=\"550\" height=\"164\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-137.png 550w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-137-300x89.png 300w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-137-65x19.png 65w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-137-225x67.png 225w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-137-350x104.png 350w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/a><\/p>\n<p style=\"text-align: justify\">a.0.cells (0.%) have expected count less thant 5.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">The minimum expected count is 7.50<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong style=\"text-align: initial;font-size: 1em\">Output<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">on table 2 gives the frequencies of blood groups in male and female in the table form for 3 degrees of freedom i.e (r-1) c-1)= (2-1) (4-1)= 3, the P-Value 0.852 is greater than 0.05. the difference is considered insignificant. The null hypothesis is accepted and therefore, there is no association between sex and blood group. In other words, the gender and blood groups are independent in human. Non-parametric significance tests which is used to calculate two dependent samples. The researcher would like to study correlated, or matched, samples. It includes the calculation of before-after effect and matched paired studies:<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong style=\"text-align: initial;font-size: 1em\">Mc Nemar\u2019s Test<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Mc Nemar\u2019s test was fist time published by Psychometrika article in the 1947. Mc Nemar\u2019s test was created by Quinn McNemar. Who was a professor worked as a Psychology and statistics department at stand ford University. When a category of the sample is more than two, marginal homogeneity tests are appropriate; they are essentially an extension of the McNemar test for dependent samples.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">In medical research, if a researcher wants to determine whether or not a particular drug has an effect on a disease (e.g., yes vs. no), then a count of the individuals is recorded (as + and \u2013 sign, or 0 and 1) in a table before and after being given the drug. Then, McNemar\u2019s test is applied which is help to take statistical decisions (using the Chi Square test statistic) as to whether or not a drug has an effect on the disease.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">The Mc Nemar\u2019s test work out the following ways:<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">We have to assume that the row total is = (equal) to the column total.<\/span><\/p>\n<\/div>\n<div>\n<p>In other works is<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: center\">(A+B) = (A+C)<\/p>\n<p style=\"text-align: center\">(C+D) = (B+D)<\/p>\n<\/div>\n<div>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">In this workout is cancel A and D equation and this implies that B=C. Through on this calculation explain the equation we will calculate the test as:<\/p>\n<p><a href=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/chapter\/non-parametric-test-ii-counts-or-percent-chi-square-mc-nemar-test-cocharn-q-test-spearman-correlation\/untitled-196\/\" rel=\"attachment wp-att-388\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-388\" src=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-138.png\" alt=\"\" width=\"265\" height=\"151\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-138.png 265w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-138-65x37.png 65w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-138-225x128.png 225w\" sizes=\"auto, (max-width: 265px) 100vw, 265px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong>Questions Answered:<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Is there a change in the proportion of voters prior to and following the press conference?<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Does the proportion of success vs. failure significantly change after treatment?<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong>Hypothesis:<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong>Null hypothesis: <\/strong>Assumes that the total rows are equal to the sum of columns. The mean of paired samples are equal and no (significant) change has occurred. for example, the null hypothesis assumes that the drug has no impact on disease.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong>Alternative Hypothesis: <\/strong>Assumes that the total number of rows is not equal to the total number of columns, or that the paired sample means are not equal. In medical research, for example, alternative hypothesis assumes that the drug has an impact on the disease.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong>COCHRAN\u2019s Q TEST<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">It include two various statistical <strong>tests<\/strong>: <strong>Cochran&#8217;s<\/strong> Q <strong>test<\/strong>, a non-parametric <strong>test<\/strong> which is applied to the Cochran test to <strong>analysis<\/strong> of two-way randomized block designs with the the help of binary respondent variable. Cochran&#8217;s Q test is an extension to the McNemar test for related samples that provides a method for testing for differences between three or more matched sets of frequencies or proportions. Cocharan\u2019s Q tests whether the probability of a target response is\u00a0 equal across all condition, verify if k treatments have identical effects. Example: 12 subjects are asked to perform 3 tasks. The outcome of each task is a dichotomous value, success or failure.<\/p>\n<\/div>\n<p><a href=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/chapter\/non-parametric-test-ii-counts-or-percent-chi-square-mc-nemar-test-cocharn-q-test-spearman-correlation\/untitled-197\/\" rel=\"attachment wp-att-389\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-389\" src=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-139.png\" alt=\"\" width=\"1191\" height=\"603\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-139.png 1191w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-139-300x152.png 300w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-139-768x389.png 768w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-139-1024x518.png 1024w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-139-65x33.png 65w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-139-225x114.png 225w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-139-350x177.png 350w\" sizes=\"auto, (max-width: 1191px) 100vw, 1191px\" \/><\/a><\/p>\n<div>\n<p style=\"text-align: justify\"><strong>Cochran\u2019s Q test is base on the following assumptions<\/strong><\/p>\n<ol>\n<li style=\"text-align: justify\"><strong>A large sample approximation in particular, it assumes that b is \u201clarge\u201d<\/strong><\/li>\n<li style=\"text-align: justify\"><strong>The blocks (rows) were randomly selected from the population of all possible blocks.<\/strong><\/li>\n<li style=\"text-align: justify\"><strong>The outcomes of the treatments can be coded as binary responses ( ie 0 or 1) in a way that is common to all treatments within each block.<\/strong><\/li>\n<\/ol>\n<p style=\"text-align: justify\">For example the researcher who had collected the pet shop data wanted to examine wheter pet stores displayed different types of reptiles during different times of the year. So the researcher visited each of the 12 stores four times during the next year that were chosen because of their proximity to holidays, valentine\u2019s day, July 4 halloween and Christmas. During each visit, the researcher recorded if the shop displayed only snakes (coded=0) or both types of reptiles (coded=1)\u00a0<span style=\"text-align: initial;font-size: 1em\">In this analysis the one variable is the time of the year and the response variable is the type of reptiles displayed.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong style=\"text-align: initial;font-size: 1em\">Research Hypothesis<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">The researcher hypothesized that pet shops would be more likely to display both reptiles to Christmas than during the other times of the year\u00a0<\/span><span style=\"text-align: initial;font-size: 1em\">Ho= stores are equally likely to display both types of reptiles during all parts of the year\/<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong style=\"text-align: initial;font-size: 1em\">SPEARMAN\u2019S RANK CORRELATION<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">This is one of the most popular non parametric tests. In this test the difference between the ranks of one of one sample and the other is computed and based on the difference which is squared, the correlation is computed. Then the standard error of the rank correlation coefficient is calculated with the help of this formula<a href=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/chapter\/non-parametric-test-ii-counts-or-percent-chi-square-mc-nemar-test-cocharn-q-test-spearman-correlation\/untitled-198\/\" rel=\"attachment wp-att-390\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-390\" src=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-140.png\" alt=\"\" width=\"533\" height=\"139\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-140.png 533w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-140-300x78.png 300w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-140-65x17.png 65w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-140-225x59.png 225w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-140-350x91.png 350w\" sizes=\"auto, (max-width: 533px) 100vw, 533px\" \/><\/a><\/span><\/p>\n<\/div>\n<p style=\"text-align: justify\">This process is followed when the number of items in a sample is less than 30. When the sample size is greater than 30, then the following process will have to be followed to test the results of rank correlation.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Example 1. A health organization studies a problem relating to the relationship between air quality and the evidence of pulmonary related diseases. The details are given below test the hypothesis that there is no correlation between air quality and pulmonary related diseases<\/p>\n<p><a href=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/chapter\/non-parametric-test-ii-counts-or-percent-chi-square-mc-nemar-test-cocharn-q-test-spearman-correlation\/untitled-199\/\" rel=\"attachment wp-att-391\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-391\" src=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-141.png\" alt=\"\" width=\"481\" height=\"236\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-141.png 481w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-141-300x147.png 300w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-141-65x32.png 65w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-141-225x110.png 225w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-141-350x172.png 350w\" sizes=\"auto, (max-width: 481px) 100vw, 481px\" \/><\/a><\/p>\n<p style=\"text-align: justify\">Now the rank correlation is found using the formula<\/p>\n<p><a href=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/chapter\/non-parametric-test-ii-counts-or-percent-chi-square-mc-nemar-test-cocharn-q-test-spearman-correlation\/untitled-200\/\" rel=\"attachment wp-att-392\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-392\" src=\"http:\/\/hsp16.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-142.png\" alt=\"\" width=\"228\" height=\"118\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-142.png 228w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-142-65x34.png 65w, https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-content\/uploads\/sites\/292\/2019\/08\/Untitled-142-225x116.png 225w\" sizes=\"auto, (max-width: 228px) 100vw, 228px\" \/><\/a><\/p>\n<div>\n<p style=\"text-align: justify\">The rank correlation answer 0.736 suggests a substantial positive association between average air quality and the occurrence of pulmonary diseases in the selected eleven cities. To test the hypothesis set for this problem Using the table value for the sample size \u2013 11, it could be noted that the critical value for r lies between +0.6091 and -0.6091. Since the calculated value of rank correlation lies outside the limit, we reject the null hypothesis; hence, there is relationship between air quality and occurrence of pulmonary diseases.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Conclusion<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Non-parametric significance tests which is used to calculate two dependent samples. . I In the chochran\u2019s Q test <strong>The outcomes of the treatments can be coded as binary responses\u00a0<\/strong><strong>( ie 0 or 1) in a way that is common to all treatments within each block. <\/strong>Since the calculated value of rank correlation lies outside the limit, we reject the null hypothesis. The adoption of research methodology find out testing the hypothesis was redesigned to enable our research\u00a0<span style=\"text-align: initial;font-size: 1em\">team to efficiently measure health related quality. The q test s a test the management capability with the use of software which is used by small as well as large scale organisation. The Non-parametric test assesses which is a statistically significant change in proportions have occurred. The McNemar test is the best test for dichotomous variables with two dependent sample studies. Hence, there is relationship between air quality and occurrence of pulmonary diseases. So the application of non-parametric test is more useful in to find out the solution to the problems.<\/span><\/p>\n<\/div>\n<table style=\"width: 824px\">\n<tbody>\n<tr>\n<td style=\"width: 754.063px\"><strong>you can view video on Non \u2013parametric test II \u2013 counts or percent, chi square, Mc Nemar test, Cocharn Q test, Spearman correlation. <\/strong><\/td>\n<td style=\"width: 41.0625px\"><a href=\"https:\/\/youtu.be\/F0cLr00HDyo\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-120\" src=\"http:\/\/epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/2018\/11\/download.png\" alt=\"\" width=\"36\" height=\"36\" \/><\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p><strong>Web links<\/strong><\/p>\n<ul>\n<li style=\"text-align: justify\">https:\/\/www.investopedia.com\/terms\/c\/chi-square-statistic.asp<\/li>\n<li style=\"text-align: justify\">https:\/\/www.medcalc.org\/manual\/cochranq.php<\/li>\n<li style=\"text-align: justify\">https:\/\/statistics.laerd.com\/statistical-guides\/spearmans-rank-order-correlation-statistical-guide.php<\/li>\n<li style=\"text-align: justify\">http:\/\/www.biostathandbook.com\/spearman.html<\/li>\n<li style=\"text-align: justify\">http:\/\/study.com\/academy\/lesson\/chi-square-definition-analysis.html<\/li>\n<li style=\"text-align: justify\">http:\/\/www.itl.nist.gov\/div898\/software\/dataplot\/refman1\/auxillar\/cochran.htm https:\/\/ncss-<\/li>\n<li style=\"text-align: justify\">wpengine.netdnassl.com\/wpcontent\/themes\/ncss\/pdf\/Procedures\/NCSS\/Cochrans_Q_Test.pdf<\/li>\n<li style=\"text-align: justify\">https:\/\/www.wikihow.com\/Calculate-Spearman%27s-Rank-Correlation-Coefficient<\/li>\n<\/ul>\n","protected":false},"author":8,"menu_order":42,"template":"","meta":{"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":["dr-p-deivanai"],"pb_section_license":""},"chapter-type":[],"contributor":[67],"license":[],"class_list":["post-385","chapter","type-chapter","status-publish","hentry","contributor-dr-p-deivanai"],"part":3,"_links":{"self":[{"href":"https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-json\/pressbooks\/v2\/chapters\/385","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":4,"href":"https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-json\/pressbooks\/v2\/chapters\/385\/revisions"}],"predecessor-version":[{"id":396,"href":"https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-json\/pressbooks\/v2\/chapters\/385\/revisions\/396"}],"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\/385\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-json\/wp\/v2\/media?parent=385"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-json\/pressbooks\/v2\/chapter-type?post=385"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-json\/wp\/v2\/contributor?post=385"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/ebooks.inflibnet.ac.in\/hsp16\/wp-json\/wp\/v2\/license?post=385"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}