﻿{"id":879,"date":"2012-11-10T17:48:21","date_gmt":"2012-11-10T08:48:21","guid":{"rendered":"http:\/\/fujiitoshiki.com\/improvesociety\/?p=879"},"modified":"2014-08-08T05:22:17","modified_gmt":"2014-08-07T20:22:17","slug":"how-to-calculate-four-numbers-from-marginal-total-in-cross-tabulation","status":"publish","type":"post","link":"https:\/\/www.fujiitoshiki.com\/improvesociety\/?p=879","title":{"rendered":"How to calculate four numbers from marginal total in cross tabulation?"},"content":{"rendered":"<div class=\"theContentWrap-ccc\"><p>When you execute Fisher&#8217;s exact test with cross tabulation, the marginal total is constant. Therefore, you could calculate the remaining three numbers if you could get &#8216;a&#8217;, the number of true positive. Because all four numbers are 0 or greater than 0, the range of &#8216;a&#8217; is between 0 and the smaller one of either the number of &#8216;TRUE&#8217; or the number of &#8216;positive&#8217;.<\/p>\n<p>Fisher&#8217;s probability is function dependent on &#8216;a&#8217;. Fisher&#8217;s probability follows super geometric distribution. If &#8216;positive&#8217; and &#8216;negative&#8217; are separated by cut-off value in continuous variable, changing cut-off value makes a change in numbers of positive, negative and true-positive. The numbers of true and false never change regardless of change in cut-off value. Therefore, Fisher&#8217;s probability is function dependent on cut-off value.<\/p>\n<table border=\"0\" align=\"left\">\n<tbody>\n<tr style=\"background-color: #a9a9a9;\">\n<td style=\"background-color: #a9a9a9;\">\u00a0<\/td>\n<td align=\"center\" valign=\"middle\"><strong><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">TRUE<\/span><\/strong><\/td>\n<td align=\"center\" valign=\"middle\"><strong><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">FALSE<\/span><\/strong><\/td>\n<td style=\"background-color: #a9a9a9;\" align=\"center\" valign=\"middle\"><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">Marginal total<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #a9a9a9;\"><strong><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">POSITIVE<\/span><\/strong><\/td>\n<td align=\"center\" valign=\"middle\"><span style=\"font-size: small; font-family: georgia, palatino;\">a<\/span><\/td>\n<td align=\"center\" valign=\"middle\"><span style=\"font-size: small; font-family: georgia, palatino;\">P &#8211; a<\/span><\/td>\n<td style=\"background-color: #a9a9a9;\" align=\"center\" valign=\"middle\"><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">P<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #a9a9a9;\"><strong><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">NEGATIVE<\/span><\/strong><\/td>\n<td align=\"center\" valign=\"middle\"><span style=\"font-size: small; font-family: georgia, palatino;\">T &#8211; a<\/span><\/td>\n<td align=\"center\" valign=\"middle\"><span style=\"font-size: small; font-family: georgia, palatino;\">a + N &#8211; P &#8211; T<\/span><\/td>\n<td style=\"background-color: #a9a9a9;\" align=\"center\" valign=\"middle\"><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">N &#8211; P<\/span><\/td>\n<\/tr>\n<tr style=\"background-color: #a9a9a9;\">\n<td style=\"background-color: #a9a9a9;\"><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">Marginal total<\/span><\/td>\n<td align=\"center\" valign=\"middle\"><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">T<\/span><\/td>\n<td align=\"center\" valign=\"middle\"><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">N &#8211; T<\/span><\/td>\n<td align=\"center\" valign=\"middle\"><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">N<\/span>\u00a0<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>At first you know only about numbers of &#8216;N&#8217; meaning of grand total, &#8216;T&#8217; meaning of true and &#8216;P&#8217; meaning of positive.<\/p>\n<table border=\"0\" align=\"left\">\n<tbody>\n<tr style=\"background-color: #a9a9a9;\">\n<td style=\"background-color: #a9a9a9;\">\u00a0<\/td>\n<td align=\"center\" valign=\"middle\"><strong><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">TRUE<\/span><\/strong><\/td>\n<td align=\"center\" valign=\"middle\"><strong><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">FALSE<\/span><\/strong><\/td>\n<td style=\"background-color: #a9a9a9;\" align=\"center\" valign=\"middle\"><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">Marginal total<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #a9a9a9;\"><strong><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">POSITIVE<\/span><\/strong><\/td>\n<td align=\"center\" valign=\"middle\">\u00a0<\/td>\n<td align=\"center\" valign=\"middle\">\u00a0<\/td>\n<td style=\"background-color: #a9a9a9;\" align=\"center\" valign=\"middle\"><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">P<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #a9a9a9;\"><strong><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">NEGATIVE<\/span><\/strong><\/td>\n<td align=\"center\" valign=\"middle\">\u00a0<\/td>\n<td align=\"center\" valign=\"middle\">\u00a0<\/td>\n<td style=\"background-color: #a9a9a9;\" align=\"center\" valign=\"middle\">\u00a0<\/td>\n<\/tr>\n<tr style=\"background-color: #a9a9a9;\">\n<td style=\"background-color: #a9a9a9;\"><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">Marginal total<\/span><\/td>\n<td align=\"center\" valign=\"middle\"><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">T<\/span><\/td>\n<td align=\"center\" valign=\"middle\">\u00a0<\/td>\n<td align=\"center\" valign=\"middle\"><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">N<\/span>\u00a0<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Next, you can calculate numbers &#8216;N &#8211; P&#8217; meaning of negative and &#8216;N &#8211; T&#8217; meaning of false. Then you have got marginal total.<\/p>\n<table border=\"0\" align=\"left\">\n<tbody>\n<tr style=\"background-color: #a9a9a9;\">\n<td style=\"background-color: #a9a9a9;\">\u00a0<\/td>\n<td align=\"center\" valign=\"middle\"><strong><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">TRUE<\/span><\/strong><\/td>\n<td align=\"center\" valign=\"middle\"><strong><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">FALSE<\/span><\/strong><\/td>\n<td style=\"background-color: #a9a9a9;\" align=\"center\" valign=\"middle\"><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">Marginal total<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #a9a9a9;\"><strong><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">POSITIVE<\/span><\/strong><\/td>\n<td align=\"center\" valign=\"middle\">\u00a0<\/td>\n<td align=\"center\" valign=\"middle\">\u00a0<\/td>\n<td style=\"background-color: #a9a9a9;\" align=\"center\" valign=\"middle\"><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">P<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #a9a9a9;\"><strong><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">NEGATIVE<\/span><\/strong><\/td>\n<td align=\"center\" valign=\"middle\">\u00a0<\/td>\n<td align=\"center\" valign=\"middle\">\u00a0<\/td>\n<td style=\"background-color: #a9a9a9;\" align=\"center\" valign=\"middle\"><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">N &#8211; P<\/span><\/td>\n<\/tr>\n<tr style=\"background-color: #a9a9a9;\">\n<td style=\"background-color: #a9a9a9;\"><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">Marginal total<\/span><\/td>\n<td align=\"center\" valign=\"middle\"><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">T<\/span><\/td>\n<td align=\"center\" valign=\"middle\"><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">N &#8211; T<\/span><\/td>\n<td align=\"center\" valign=\"middle\"><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">N<\/span>\u00a0<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>If you could get &#8216;a&#8217;, you would get false negative &#8216;T &#8211; a&#8217; and false positive &#8216;P &#8211; a&#8217;.<\/p>\n<table border=\"0\" align=\"left\">\n<tbody>\n<tr style=\"background-color: #a9a9a9;\">\n<td style=\"background-color: #a9a9a9;\">\u00a0<\/td>\n<td align=\"center\" valign=\"middle\"><strong><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">TRUE<\/span><\/strong><\/td>\n<td align=\"center\" valign=\"middle\"><strong><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">FALSE<\/span><\/strong><\/td>\n<td style=\"background-color: #a9a9a9;\" align=\"center\" valign=\"middle\"><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">Marginal total<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #a9a9a9;\"><strong><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">POSITIVE<\/span><\/strong><\/td>\n<td align=\"center\" valign=\"middle\"><span style=\"font-size: small; font-family: georgia, palatino;\">a<\/span><\/td>\n<td align=\"center\" valign=\"middle\"><span style=\"font-size: small; font-family: georgia, palatino;\">P &#8211; a<\/span><\/td>\n<td style=\"background-color: #a9a9a9;\" align=\"center\" valign=\"middle\"><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">P<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #a9a9a9;\"><strong><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">NEGATIVE<\/span><\/strong><\/td>\n<td align=\"center\" valign=\"middle\"><span style=\"font-size: small; font-family: georgia, palatino;\">T &#8211; a<\/span><\/td>\n<td align=\"center\" valign=\"middle\">\u00a0<\/td>\n<td style=\"background-color: #a9a9a9;\" align=\"center\" valign=\"middle\"><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">N &#8211; P<\/span><\/td>\n<\/tr>\n<tr style=\"background-color: #a9a9a9;\">\n<td style=\"background-color: #a9a9a9;\"><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">Marginal total<\/span><\/td>\n<td align=\"center\" valign=\"middle\"><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">T<\/span><\/td>\n<td align=\"center\" valign=\"middle\"><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">N &#8211; T<\/span><\/td>\n<td align=\"center\" valign=\"middle\"><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">N<\/span>\u00a0<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>At last, you could get true negative &#8216;a + N &#8211; P &#8211; T&#8217;.<\/p>\n<table border=\"0\" align=\"left\">\n<tbody>\n<tr style=\"background-color: #a9a9a9;\">\n<td style=\"background-color: #a9a9a9;\">\u00a0<\/td>\n<td align=\"center\" valign=\"middle\"><strong><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">TRUE<\/span><\/strong><\/td>\n<td align=\"center\" valign=\"middle\"><strong><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">FALSE<\/span><\/strong><\/td>\n<td style=\"background-color: #a9a9a9;\" align=\"center\" valign=\"middle\"><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">Marginal total<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #a9a9a9;\"><strong><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">POSITIVE<\/span><\/strong><\/td>\n<td align=\"center\" valign=\"middle\"><span style=\"font-size: small; font-family: georgia, palatino;\">a<\/span><\/td>\n<td align=\"center\" valign=\"middle\"><span style=\"font-size: small; font-family: georgia, palatino;\">P &#8211; a<\/span><\/td>\n<td style=\"background-color: #a9a9a9;\" align=\"center\" valign=\"middle\"><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">P<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #a9a9a9;\"><strong><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">NEGATIVE<\/span><\/strong><\/td>\n<td align=\"center\" valign=\"middle\"><span style=\"font-size: small; font-family: georgia, palatino;\">T &#8211; a<\/span><\/td>\n<td align=\"center\" valign=\"middle\"><span style=\"font-size: small; font-family: georgia, palatino;\">a + N &#8211; P &#8211; T<\/span><\/td>\n<td style=\"background-color: #a9a9a9;\" align=\"center\" valign=\"middle\"><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">N &#8211; P<\/span><\/td>\n<\/tr>\n<tr style=\"background-color: #a9a9a9;\">\n<td style=\"background-color: #a9a9a9;\"><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">Marginal total<\/span><\/td>\n<td align=\"center\" valign=\"middle\"><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">T<\/span><\/td>\n<td align=\"center\" valign=\"middle\"><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">N &#8211; T<\/span><\/td>\n<td align=\"center\" valign=\"middle\"><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">N<\/span>\u00a0<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>When you execute Fisher&#8217;s exact test with cross tabulation, the marginal total is constant. Therefore, y &hellip; <a href=\"https:\/\/www.fujiitoshiki.com\/improvesociety\/?p=879\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;How to calculate four numbers from marginal total in cross tabulation?&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[7],"tags":[23,24,26,25],"class_list":["post-879","post","type-post","status-publish","format-standard","hentry","category-statistics","tag-cross-tabulation","tag-fishers-exact-test","tag-marginal-total","tag-super-geometric-distribution"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.fujiitoshiki.com\/improvesociety\/index.php?rest_route=\/wp\/v2\/posts\/879","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fujiitoshiki.com\/improvesociety\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fujiitoshiki.com\/improvesociety\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.fujiitoshiki.com\/improvesociety\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fujiitoshiki.com\/improvesociety\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=879"}],"version-history":[{"count":20,"href":"https:\/\/www.fujiitoshiki.com\/improvesociety\/index.php?rest_route=\/wp\/v2\/posts\/879\/revisions"}],"predecessor-version":[{"id":6168,"href":"https:\/\/www.fujiitoshiki.com\/improvesociety\/index.php?rest_route=\/wp\/v2\/posts\/879\/revisions\/6168"}],"wp:attachment":[{"href":"https:\/\/www.fujiitoshiki.com\/improvesociety\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=879"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fujiitoshiki.com\/improvesociety\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=879"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fujiitoshiki.com\/improvesociety\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=879"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}