{"id":438,"date":"2023-07-29T22:47:58","date_gmt":"2023-07-29T22:47:58","guid":{"rendered":"https:\/\/statorials.org\/tr\/mcnemars-test-hesaplayicisi\/"},"modified":"2023-07-29T22:47:58","modified_gmt":"2023-07-29T22:47:58","slug":"mcnemars-test-hesaplayicisi","status":"publish","type":"post","link":"https:\/\/statorials.org\/tr\/mcnemars-test-hesaplayicisi\/","title":{"rendered":"Mcnemar test hesaplay\u0131c\u0131"},"content":{"rendered":"<p><script src=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/mathjs\/5.1.1\/math.js\"><\/script><script src=\"https:\/\/cdn.jsdelivr.net\/npm\/jstat@latest\/dist\/jstat.min.js\"><\/script><\/p>\n<style>\n@import url('https:\/\/fonts.googleapis.com\/css?family=Droid+Serif|Raleway');<\/p>\n<p>.axis--y .domain {\n  display: none;\n}<\/p>\n<p>h1 {\ncolor: black;\ntext-align: center;\nmargin-bottom: 0px;\nmargin-top: 15px;\nfont-family: 'Raleway', sans-serif;\n}<\/p>\n<p>p {\ncolor: black;\ntext-align: center;\nmargin-bottom: 15px;\nmargin-top: 15px;\nfont-family: 'Raleway', sans-serif;\n}<\/p>\n<p>#words {\ncolor: black;\nfont-family: Raleway;\nmax-width: 550px;\nmargin: 25px auto;\nline-height: 1.75;\n}<\/p>\n<p>#words_text_area {\ndisplay:inline-block;\ncolor: black;\nfont-family: Raleway;\nmax-width: 550px;\nmargin: 25px auto;\nline-height: 1.75;\npadding-left: 100px;\n}<\/p>\n<p>#calcTitle {\ntext-align: center;\nfont-size: 20px;\nmargin-bottom: 0px;\nfont-family: 'Raleway', serif;\n}<\/p>\n<p>#hr_top {\nwidth: 30%;\nmargin-bottom: 0px;\nborder: none;\nheight: 2px;\ncolor: black;\nbackground-color: black;\n}<\/p>\n<p>#hr_bottom {\nwidth: 30%;\nmargin-top: 15px;\nborder: none;\nheight: 2px;\ncolor: black;\nbackground-color: black;\n}<\/p>\n<p>#words label, input {\n    display: inline-block;\n    vertical-align: baseline;\n    width: 350px;\n}<\/p>\n<p>    #button {\n      border: 1px solid;\n      border-radius: 10px;\n      margin-top: 20px;<\/p>\n<p>      cursor: pointer;\n      outline: none;\n      background-color: white;\n      color: black;\n      font-family: 'Work Sans', sans-serif;\n      border: 1px solid grey;\n      \/* Green *\/\n    }<\/p>\n<p>    #button:hover {\n      background-color: #f6f6f6;\n      border: 1px solid black;\n    }<\/p>\n<p>\t.label_radio {\n\ttext-align: center;\n    }<\/p>\n<p>td, tr, th {\n    border: 1px solid black;\n}\ntable {\n    border-collapse: collapse;\n}\ntd, th {\n    min-width: 40px;\n    height: 15px;\n}\n.prob, .freq {\n    width: 100%;\n    display: block;\n}<\/p>\n<p>.outcome_labels {\n    text-align: center;\n    background-color: #ddd;\n    font-weight: bold;\n}<\/p>\n<p>.outcome_labels_blank {\n    visibility: hidden;\n}<\/p>\n<p>.outcome_labels_header {\n    text-align: center;\n    background-color: #adf4eb;\n    font-weight: bold;\n    border-top: black 1px solid;\n}<\/p>\n<p>.outcome_labels_header_b {\n    vertical-align: middle;\n    text-align: center;\n    background-color: #adf4eb;\n    font-weight: bold;\n}<\/p>\n<p>#words_table {\ncolor: black;\nfont-family: Raleway;\nmax-width: 350px;\nmargin: 25px auto;\nline-height: 1.75;\n}<\/p>\n<p>#summary_table {\ncolor: black;\nfont-family: Raleway;\nmax-width: 550px;\nmargin: 25px auto;\nline-height: 1.75;\npadding-left: 20px;\n}<\/p>\n<p>    .label_radio {\n\ttext-align: center;\n}\n<\/style>\n<div id=\"words\">\n<p style=\"text-align: left\"><b>McNemar testi,<\/b> say\u0131mlar\u0131n iki grup aras\u0131nda tutarl\u0131 olup olmad\u0131\u011f\u0131n\u0131 kontrol etmek i\u00e7in kullan\u0131l\u0131r. Genellikle bir tedavi grubu ile bir kontrol grubu aras\u0131ndaki say\u0131lar\u0131n e\u015fit olup olmad\u0131\u011f\u0131n\u0131 test etmek i\u00e7in kullan\u0131l\u0131r.<\/p>\n<p style=\"text-align: left\"> A\u015fa\u011f\u0131daki 2&#215;2 tablo g\u00f6z \u00f6n\u00fcne al\u0131nd\u0131\u011f\u0131nda: <\/p>\n<p style=\"text-align: center\"><img decoding=\"async\" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/exemple_mcnemar.png\" alt=\"McNemar Testi \u00d6rne\u011fi\" srcset=\"\" sizes=\"\"><\/p>\n<p style=\"text-align: left\"> Test istatisti\u011fi X <sup>2,<\/sup> (|bc|-1) <sup>2<\/sup> \/ (b+c) \u015feklinde hesaplan\u0131r ve bir serbestlik derecesine sahip ki-kare da\u011f\u0131l\u0131m\u0131n\u0131 takip eder.<\/p>\n<p style=\"text-align: left\"> Belirli bir veri seti i\u00e7in McNemar testini ger\u00e7ekle\u015ftirmek i\u00e7in a\u015fa\u011f\u0131daki h\u00fccrelere de\u011ferleri girmeniz ve ard\u0131ndan \u201cHesapla\u201d butonuna basman\u0131z yeterlidir. <\/p>\n<\/div>\n<div id=\"words_table\">\n<table>\n<tbody>\n<tr>\n<td class=\"outcome_labels_blank\"><\/td>\n<td class=\"outcome_labels_blank\"><\/td>\n<td class=\"outcome_labels_header\" colspan=\"2\"> Test 2 <\/td>\n<\/tr>\n<tr>\n<td class=\"outcome_labels_blank\"><\/td>\n<td class=\"outcome_labels_blank\"><\/td>\n<td class=\"outcome_labels\"> Pozitif<\/td>\n<td class=\"outcome_labels\"> Olumsuz<\/td>\n<\/tr>\n<tr>\n<td class=\"outcome_labels_header_b\" rowspan=\"2\"> Deneme 1<\/td>\n<td class=\"outcome_labels\"> <span>Pozitif<\/span> <\/td>\n<td><span class=\"prob b1a1\" contenteditable=\"\"><\/span><\/td>\n<td><span class=\"freq b0a1\" contenteditable=\"\"><\/span><\/td>\n<\/tr>\n<tr>\n<td class=\"outcome_labels\"><span>Olumsuz<\/span> <\/td>\n<td><span class=\"prob b1a0\" contenteditable=\"\"><\/span><\/td>\n<td><span class=\"freq b0a0\" contenteditable=\"\"><\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div id=\"words_table\"><input type=\"button\" id=\"button\" onclick=\"calc()\" value=\"Calculate\"><\/div>\n<div>\n<p><span id=\"chi2\"><\/span><\/p>\n<\/div>\n<div>\n<p><span id=\"p\"><\/span><\/p>\n<\/div>\n<p><script><\/p>\n<p>\/\/create function that performs calculations\nfunction calc() {<\/p>\n<p>\/\/get data\nvar b1a1 = document.getElementsByClassName('b1a1')[0].innerText*1;\nvar b1a0 = document.getElementsByClassName('b1a0')[0].innerText*1;\nvar b0a1 = document.getElementsByClassName('b0a1')[0].innerText*1;\nvar b0a0 = document.getElementsByClassName('b0a0')[0].innerText*1;<\/p>\n<p>\/\/calculate test statistic, p-value\nvar chi2 = Math.pow(Math.abs(b0a1-b1a0) - 1, 2) \/ (b0a1-(-b1a0));\nvar p = 1 - jStat.chisquare.cdf(chi2, 1);<\/p>\n<p>\/\/output results\ndocument.getElementById('chi2').innerHTML = \"<b>Test statistic X<sup>2<\/sup> :<\/b> \" + \"(|\" + b0a1 + \"-\" + b1a0 + \"| - 1)<sup>2<\/sup> \/ (\" + b0a1 + \"+\" + b1a0 + \") = \" + chi2.toFixed(5);\ndocument.getElementById('p').innerHTML = \"<b>p-value:<\/b> \" + p.toFixed(5);<\/p>\n<p>}<\/p>\n<p><\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>McNemar testi, say\u0131mlar\u0131n iki grup aras\u0131nda tutarl\u0131 olup olmad\u0131\u011f\u0131n\u0131 kontrol etmek i\u00e7in kullan\u0131l\u0131r. Genellikle bir tedavi grubu ile bir kontrol grubu aras\u0131ndaki say\u0131lar\u0131n e\u015fit olup olmad\u0131\u011f\u0131n\u0131 test etmek i\u00e7in kullan\u0131l\u0131r. A\u015fa\u011f\u0131daki 2&#215;2 tablo g\u00f6z \u00f6n\u00fcne al\u0131nd\u0131\u011f\u0131nda: Test istatisti\u011fi X 2, (|bc|-1) 2 \/ (b+c) \u015feklinde hesaplan\u0131r ve bir serbestlik derecesine sahip ki-kare da\u011f\u0131l\u0131m\u0131n\u0131 takip eder. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-438","post","type-post","status-publish","format-standard","hentry","category-rehber"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>McNemar Test Hesaplay\u0131c\u0131 - Statorials<\/title>\n<meta name=\"description\" content=\"Bu hesaplay\u0131c\u0131, belirli bir veri seti i\u00e7in McNemar testini ger\u00e7ekle\u015ftirir ve bu test, say\u0131mlar\u0131n iki grup aras\u0131nda tutarl\u0131 olup olmad\u0131\u011f\u0131n\u0131 test eder.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/statorials.org\/tr\/mcnemars-test-hesaplayicisi\/\" \/>\n<meta property=\"og:locale\" content=\"tr_TR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"McNemar Test Hesaplay\u0131c\u0131 - Statorials\" \/>\n<meta property=\"og:description\" content=\"Bu hesaplay\u0131c\u0131, belirli bir veri seti i\u00e7in McNemar testini ger\u00e7ekle\u015ftirir ve bu test, say\u0131mlar\u0131n iki grup aras\u0131nda tutarl\u0131 olup olmad\u0131\u011f\u0131n\u0131 test eder.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/tr\/mcnemars-test-hesaplayicisi\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-29T22:47:58+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/exemple_mcnemar.png\" \/>\n<meta name=\"author\" content=\"Dr.benjamin anderson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Yazan:\" \/>\n\t<meta name=\"twitter:data1\" content=\"Dr.benjamin anderson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tahmini okuma s\u00fcresi\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 dakika\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/statorials.org\/tr\/mcnemars-test-hesaplayicisi\/\",\"url\":\"https:\/\/statorials.org\/tr\/mcnemars-test-hesaplayicisi\/\",\"name\":\"McNemar Test Hesaplay\u0131c\u0131 - Statorials\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/tr\/#website\"},\"datePublished\":\"2023-07-29T22:47:58+00:00\",\"dateModified\":\"2023-07-29T22:47:58+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/tr\/#\/schema\/person\/365dc158a39a7c8ae256355451e3de48\"},\"description\":\"Bu hesaplay\u0131c\u0131, belirli bir veri seti i\u00e7in McNemar testini ger\u00e7ekle\u015ftirir ve bu test, say\u0131mlar\u0131n iki grup aras\u0131nda tutarl\u0131 olup olmad\u0131\u011f\u0131n\u0131 test eder.\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/tr\/mcnemars-test-hesaplayicisi\/#breadcrumb\"},\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/tr\/mcnemars-test-hesaplayicisi\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/tr\/mcnemars-test-hesaplayicisi\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Ev\",\"item\":\"https:\/\/statorials.org\/tr\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Mcnemar test hesaplay\u0131c\u0131\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/statorials.org\/tr\/#website\",\"url\":\"https:\/\/statorials.org\/tr\/\",\"name\":\"Statorials\",\"description\":\"\u0130statistik okuryazarl\u0131\u011f\u0131 rehberiniz!\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/statorials.org\/tr\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"tr\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/statorials.org\/tr\/#\/schema\/person\/365dc158a39a7c8ae256355451e3de48\",\"name\":\"Dr.benjamin anderson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"tr\",\"@id\":\"https:\/\/statorials.org\/tr\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/statorials.org\/tr\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"contentUrl\":\"https:\/\/statorials.org\/tr\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"caption\":\"Dr.benjamin anderson\"},\"description\":\"Merhaba, ben Benjamin, emekli bir istatistik profes\u00f6r\u00fc ve Statorials \u00f6\u011fretmenine d\u00f6n\u00fc\u015ft\u00fcm. \u0130statistik alan\u0131ndaki kapsaml\u0131 deneyimim ve uzmanl\u0131\u011f\u0131mla, \u00f6\u011frencilerimi Statorials arac\u0131l\u0131\u011f\u0131yla g\u00fc\u00e7lendirmek i\u00e7in bilgilerimi payla\u015fmaya can at\u0131yorum. Daha fazlas\u0131n\u0131 bil\",\"sameAs\":[\"https:\/\/statorials.org\/tr\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"McNemar Test Hesaplay\u0131c\u0131 - Statorials","description":"Bu hesaplay\u0131c\u0131, belirli bir veri seti i\u00e7in McNemar testini ger\u00e7ekle\u015ftirir ve bu test, say\u0131mlar\u0131n iki grup aras\u0131nda tutarl\u0131 olup olmad\u0131\u011f\u0131n\u0131 test eder.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/statorials.org\/tr\/mcnemars-test-hesaplayicisi\/","og_locale":"tr_TR","og_type":"article","og_title":"McNemar Test Hesaplay\u0131c\u0131 - Statorials","og_description":"Bu hesaplay\u0131c\u0131, belirli bir veri seti i\u00e7in McNemar testini ger\u00e7ekle\u015ftirir ve bu test, say\u0131mlar\u0131n iki grup aras\u0131nda tutarl\u0131 olup olmad\u0131\u011f\u0131n\u0131 test eder.","og_url":"https:\/\/statorials.org\/tr\/mcnemars-test-hesaplayicisi\/","og_site_name":"Statorials","article_published_time":"2023-07-29T22:47:58+00:00","og_image":[{"url":"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/exemple_mcnemar.png"}],"author":"Dr.benjamin anderson","twitter_card":"summary_large_image","twitter_misc":{"Yazan:":"Dr.benjamin anderson","Tahmini okuma s\u00fcresi":"1 dakika"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/statorials.org\/tr\/mcnemars-test-hesaplayicisi\/","url":"https:\/\/statorials.org\/tr\/mcnemars-test-hesaplayicisi\/","name":"McNemar Test Hesaplay\u0131c\u0131 - Statorials","isPartOf":{"@id":"https:\/\/statorials.org\/tr\/#website"},"datePublished":"2023-07-29T22:47:58+00:00","dateModified":"2023-07-29T22:47:58+00:00","author":{"@id":"https:\/\/statorials.org\/tr\/#\/schema\/person\/365dc158a39a7c8ae256355451e3de48"},"description":"Bu hesaplay\u0131c\u0131, belirli bir veri seti i\u00e7in McNemar testini ger\u00e7ekle\u015ftirir ve bu test, say\u0131mlar\u0131n iki grup aras\u0131nda tutarl\u0131 olup olmad\u0131\u011f\u0131n\u0131 test eder.","breadcrumb":{"@id":"https:\/\/statorials.org\/tr\/mcnemars-test-hesaplayicisi\/#breadcrumb"},"inLanguage":"tr","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/tr\/mcnemars-test-hesaplayicisi\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/tr\/mcnemars-test-hesaplayicisi\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Ev","item":"https:\/\/statorials.org\/tr\/"},{"@type":"ListItem","position":2,"name":"Mcnemar test hesaplay\u0131c\u0131"}]},{"@type":"WebSite","@id":"https:\/\/statorials.org\/tr\/#website","url":"https:\/\/statorials.org\/tr\/","name":"Statorials","description":"\u0130statistik okuryazarl\u0131\u011f\u0131 rehberiniz!","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/statorials.org\/tr\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"tr"},{"@type":"Person","@id":"https:\/\/statorials.org\/tr\/#\/schema\/person\/365dc158a39a7c8ae256355451e3de48","name":"Dr.benjamin anderson","image":{"@type":"ImageObject","inLanguage":"tr","@id":"https:\/\/statorials.org\/tr\/#\/schema\/person\/image\/","url":"https:\/\/statorials.org\/tr\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","contentUrl":"https:\/\/statorials.org\/tr\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","caption":"Dr.benjamin anderson"},"description":"Merhaba, ben Benjamin, emekli bir istatistik profes\u00f6r\u00fc ve Statorials \u00f6\u011fretmenine d\u00f6n\u00fc\u015ft\u00fcm. \u0130statistik alan\u0131ndaki kapsaml\u0131 deneyimim ve uzmanl\u0131\u011f\u0131mla, \u00f6\u011frencilerimi Statorials arac\u0131l\u0131\u011f\u0131yla g\u00fc\u00e7lendirmek i\u00e7in bilgilerimi payla\u015fmaya can at\u0131yorum. Daha fazlas\u0131n\u0131 bil","sameAs":["https:\/\/statorials.org\/tr"]}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"_links":{"self":[{"href":"https:\/\/statorials.org\/tr\/wp-json\/wp\/v2\/posts\/438","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/statorials.org\/tr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/statorials.org\/tr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/statorials.org\/tr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/statorials.org\/tr\/wp-json\/wp\/v2\/comments?post=438"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/tr\/wp-json\/wp\/v2\/posts\/438\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/tr\/wp-json\/wp\/v2\/media?parent=438"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/tr\/wp-json\/wp\/v2\/categories?post=438"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/tr\/wp-json\/wp\/v2\/tags?post=438"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}