{"id":516,"date":"2023-07-29T15:49:51","date_gmt":"2023-07-29T15:49:51","guid":{"rendered":"https:\/\/statorials.org\/nl\/beslissingsregel-rekenmachine\/"},"modified":"2023-07-29T15:49:51","modified_gmt":"2023-07-29T15:49:51","slug":"beslissingsregel-rekenmachine","status":"publish","type":"post","link":"https:\/\/statorials.org\/nl\/beslissingsregel-rekenmachine\/","title":{"rendered":"Beslissingsregels calculator"},"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>h1 {\ncolor: black;\ntext-align: center;\nmargin-top: 15px;\nmargin-bottom: 0px;\nfont-family: 'Raleway', sans-serif;\n}<\/p>\n<p>h2 {\ncolor: black;\nfont-size: 20px;\ntext-align: center;\nmargin-bottom: 15px;\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_intro {\ncolor: black;\nfont-family: Raleway;\nmax-width: 550px;\nmargin: 25px auto;\nline-height: 1.75;\n}<\/p>\n<p>#words_outro {\ncolor: black;\nfont-family: Raleway;\nmax-width: 550px;\nmargin: 25px auto;\nline-height: 1.75;\n}<\/p>\n<p>#words {\ncolor: black;\nfont-family: Raleway;\nmax-width: 550px;\nmargin: 25px auto;\nline-height: 1.75;\npadding-left: 100px;\n}<\/p>\n<p>#words_t {\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;\nmargin-top: 10px;\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>.input_label_calc {\n    display: inline-block;\n    vertical-align: baseline;\n    width: 350px;\n}<\/p>\n<p>    #button_calc {\n      border: 1px solid;\n      border-radius: 10px;\n      margin-top: 20px;\n      padding: 10px 10px;\n      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_calc:hover {\n      background-color: #f6f6f6;\n      border: 1px solid black;\n    }<\/p>\n<p>\t    .label_radio {\n\ttext-align: center;\n}\n<\/style>\n<div id=\"words_intro\">Bij het testen van hypothesen willen we weten of we een statistische hypothese wel of niet moeten verwerpen.<\/div>\n<div id=\"words_intro\"> Om deze beslissing te nemen, vergelijken we de p-waarde van de teststatistiek met een significantieniveau dat we voor de test hebben gekozen. Als de p-waarde kleiner is dan het significantieniveau, verwerpen we de nulhypothese. Anders zullen we er niet in slagen de nulhypothese te verwerpen.<\/div>\n<div id=\"words_intro\"> Deze rekenmachine vertelt u of u een nulhypothese wel of niet moet verwerpen op basis van de waarde van de teststatistiek, het testformaat (eenzijdig of tweezijdig) en het significantieniveau dat u heeft gekozen.<\/div>\n<div id=\"words\">\n<p style=\"text-align: left\"> <b>Unilaterale of bilaterale hypothese?<\/b><\/p>\n<p> <label class=\"label_radio\" for=\"one_tailed\">Eenzijdig<\/label><input type=\"radio\" id=\"one_tailed\" name=\"tails\"> <label class=\"label_radio\" for=\"two_tailed\">Tweestaartig<\/label> <input type=\"radio\" id=\"two_tailed\" name=\"tails\" checked=\"\"><\/p>\n<\/div>\n<div id=\"words\">\n<p style=\"text-align: left\"> <b>Mate van belang<\/b><\/p>\n<p> <label class=\"label_radio\" for=\"one\">0,01<\/label><input type=\"radio\" id=\"one\" name=\"sig\" value=\"0.01\"> <label class=\"label_radio\" for=\"five\">0,05<\/label><input type=\"radio\" id=\"five\" name=\"sig\" value=\"0.05\" checked=\"\"> <label class=\"label_radio\" for=\"ten\">0,10<\/label> <input type=\"radio\" id=\"ten\" name=\"sig\" value=\"0.10\"><\/p>\n<\/div>\n<div id=\"words\">\n<p style=\"text-align: left\"> <b>Z-statistiek of T-statistiek?<\/b><\/p>\n<p> <label class=\"label_radio\" for=\"z\">Z-statistiek<\/label><input type=\"radio\" id=\"z\" name=\"test_stats\" onclick=\"dataOption()\" checked=\"\"> <label class=\"label_radio\" for=\"t\">t-statistiek<\/label><input type=\"radio\" id=\"t\" name=\"test_stats\" onclick=\"dataOption()\"><\/p>\n<\/div>\n<div id=\"words_t\"> <label class=\"input_label_calc\" for=\"dof\"><b>Graden van vrijheid<\/b><\/label><input class=\"input_label_calc\" type=\"number\" id=\"dof\" value=\"17\"><\/div>\n<div id=\"words\"><label class=\"input_label_calc\" for=\"stat\"><b>Statistische waarde testen<\/b><\/label> <input class=\"input_label_calc\" type=\"number\" id=\"stat\" value=\"1.34\"><\/div>\n<div id=\"words\"><input class=\"input_label_calc\" type=\"button\" id=\"button_calc\" onclick=\"calc()\" value=\"Find Decision Rule\"><\/div>\n<div id=\"words_outro\">\n<p> Beslissingsregel: <b><span id=\"decision\">verwerp de nulhypothese niet<\/span><\/b><\/p>\n<\/div>\n<hr>\n<div id=\"words_outro\">\n<p> <b>Uitleg:<\/b><\/p>\n<\/div>\n<div id=\"words_intro\">\n<p> De p-waarde voor een <span id=\"test_output_name\">Z-statistiek<\/span> van <span id=\"test_output\">1,34<\/span> voor een <span id=\"test_output_tail\">tweezijdige<\/span> toets is <b><span id=\"p_output\">0,18025<\/span><\/b> . Omdat deze p-waarde <span id=\"test_output_sign\">groter is dan<\/span> <span id=\"test_output_sig\">0,05<\/span> slagen we <b><span id=\"test_output_decision\">er niet in de nulhypothese te verwerpen<\/span><\/b> .<\/p>\n<\/div>\n<p><script>\n\/\/create function that shows or hides elements based on button click\nvar div_table = document.getElementById('words_t');\ndiv_table.style.display = 'none';\nfunction dataOption() {\n    if (document.getElementById('t').checked) {\n\tdiv_table.style.display = 'block';\n       } else {\n\tdiv_table.style.display = 'none';\n      }\n}<\/p>\n<p>function calc() {\t\n\/\/get test statistic\nvar input_test_stat = document.getElementById('stat').value*1;\nvar dof = document.getElementById('dof').value*1;<\/p>\n<p>\/\/get tails input\nvar input_tails = 1;\nvar output_tail = 'one-tailed';\nif (document.getElementById('two_tailed').checked) {\n  input_tails = 2;\n  output_tail = 'two-tailed';\n}\t<\/p>\n<p>\/\/get significance level input\nvar input_sig = 0;\nif (document.getElementById('one').checked) {\n  sig_level = 0.01;\n} else if (document.getElementById('five').checked) {\n  sig_level = 0.05;\n} else {\n  sig_level = 0.10;\n}<\/p>\n<p>\/\/compute p-value\nvar p_output = jStat.normal.cdf(Math.abs(input_test_stat), 0, 1)*input_tails;\nvar input_test_name = 'Z-statistic';<\/p>\n<p>if (document.getElementById('t').checked) {\n  p_output = jStat.studentt.cdf(Math.abs(input_test_stat), dof)*input_tails;\n  var input_test_name = 't-statistic';\n}<\/p>\n<p>if (p_output >= 1) {\n  p_output = 2 - p_output;\n}<\/p>\n<p>\/\/last correction for one-tailed\nif (input_tails == 1) {\n  p_output = 1 - p_output;\n}\t\t<\/p>\n<p>\/\/compute decision rule\nvar test_output_sign = 'greater than';\nvar test_output_decision = 'fail to reject the null hypothesis';<\/p>\n<p>if (p_output < sig_level) {\nvar test_output_sign = 'less than';\nvar test_output_decision = 'reject the null hypothesis';}\n\n\/\/output\ndocument.getElementById('p_output').innerHTML = p_output.toFixed(5);\ndocument.getElementById('test_output_name').innerHTML = input_test_name;\ndocument.getElementById('test_output').innerHTML = input_test_stat;\ndocument.getElementById('test_output_tail').innerHTML = output_tail;\ndocument.getElementById('test_output_sign').innerHTML = test_output_sign;\ndocument.getElementById('test_output_sig').innerHTML = sig_level;\ndocument.getElementById('test_output_decision').innerHTML = test_output_decision;\ndocument.getElementById('decision').innerHTML = test_output_decision;\n}\n\n<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Bij het testen van hypothesen willen we weten of we een statistische hypothese wel of niet moeten verwerpen. Om deze beslissing te nemen, vergelijken we de p-waarde van de teststatistiek met een significantieniveau dat we voor de test hebben gekozen. Als de p-waarde kleiner is dan het significantieniveau, verwerpen we de nulhypothese. Anders zullen we [&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-516","post","type-post","status-publish","format-standard","hentry","category-gids"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Beslissingsregelscalculator - Statorialen<\/title>\n<meta name=\"description\" content=\"Deze rekenmachine vertelt u welke beslisregel correct is bij een hypothesetoets.\" \/>\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\/nl\/beslissingsregel-rekenmachine\/\" \/>\n<meta property=\"og:locale\" content=\"de_DE\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Beslissingsregelscalculator - Statorialen\" \/>\n<meta property=\"og:description\" content=\"Deze rekenmachine vertelt u welke beslisregel correct is bij een hypothesetoets.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/nl\/beslissingsregel-rekenmachine\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-29T15:49:51+00:00\" \/>\n<meta name=\"author\" content=\"Dr.benjamin anderson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Verfasst von\" \/>\n\t<meta name=\"twitter:data1\" content=\"Dr.benjamin anderson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Gesch\u00e4tzte Lesezeit\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\u00a0Minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/statorials.org\/nl\/beslissingsregel-rekenmachine\/\",\"url\":\"https:\/\/statorials.org\/nl\/beslissingsregel-rekenmachine\/\",\"name\":\"Beslissingsregelscalculator - Statorialen\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/nl\/#website\"},\"datePublished\":\"2023-07-29T15:49:51+00:00\",\"dateModified\":\"2023-07-29T15:49:51+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/nl\/#\/schema\/person\/d4b8842173cca1bb62cdec41860e4219\"},\"description\":\"Deze rekenmachine vertelt u welke beslisregel correct is bij een hypothesetoets.\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/nl\/beslissingsregel-rekenmachine\/#breadcrumb\"},\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/nl\/beslissingsregel-rekenmachine\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/nl\/beslissingsregel-rekenmachine\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Thuis\",\"item\":\"https:\/\/statorials.org\/nl\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Beslissingsregels calculator\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/statorials.org\/nl\/#website\",\"url\":\"https:\/\/statorials.org\/nl\/\",\"name\":\"Statorials\",\"description\":\"Uw gids voor statistische competentie\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/statorials.org\/nl\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"de\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/statorials.org\/nl\/#\/schema\/person\/d4b8842173cca1bb62cdec41860e4219\",\"name\":\"Dr.benjamin anderson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\/\/statorials.org\/nl\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/statorials.org\/nl\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"contentUrl\":\"http:\/\/statorials.org\/nl\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"caption\":\"Dr.benjamin anderson\"},\"description\":\"Ik ben Benjamin, een gepensioneerde hoogleraar statistiek die nu een toegewijde Statorials-lesgever is. Ik heb uitgebreide ervaring en expertise op het gebied van statistiek en ik ben vastbesloten om mijn kennis te delen met studenten via Statorials. Lees verder\",\"sameAs\":[\"http:\/\/statorials.org\/nl\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Beslissingsregelscalculator - Statorialen","description":"Deze rekenmachine vertelt u welke beslisregel correct is bij een hypothesetoets.","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\/nl\/beslissingsregel-rekenmachine\/","og_locale":"de_DE","og_type":"article","og_title":"Beslissingsregelscalculator - Statorialen","og_description":"Deze rekenmachine vertelt u welke beslisregel correct is bij een hypothesetoets.","og_url":"https:\/\/statorials.org\/nl\/beslissingsregel-rekenmachine\/","og_site_name":"Statorials","article_published_time":"2023-07-29T15:49:51+00:00","author":"Dr.benjamin anderson","twitter_card":"summary_large_image","twitter_misc":{"Verfasst von":"Dr.benjamin anderson","Gesch\u00e4tzte Lesezeit":"1\u00a0Minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/statorials.org\/nl\/beslissingsregel-rekenmachine\/","url":"https:\/\/statorials.org\/nl\/beslissingsregel-rekenmachine\/","name":"Beslissingsregelscalculator - Statorialen","isPartOf":{"@id":"https:\/\/statorials.org\/nl\/#website"},"datePublished":"2023-07-29T15:49:51+00:00","dateModified":"2023-07-29T15:49:51+00:00","author":{"@id":"https:\/\/statorials.org\/nl\/#\/schema\/person\/d4b8842173cca1bb62cdec41860e4219"},"description":"Deze rekenmachine vertelt u welke beslisregel correct is bij een hypothesetoets.","breadcrumb":{"@id":"https:\/\/statorials.org\/nl\/beslissingsregel-rekenmachine\/#breadcrumb"},"inLanguage":"de","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/nl\/beslissingsregel-rekenmachine\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/nl\/beslissingsregel-rekenmachine\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Thuis","item":"https:\/\/statorials.org\/nl\/"},{"@type":"ListItem","position":2,"name":"Beslissingsregels calculator"}]},{"@type":"WebSite","@id":"https:\/\/statorials.org\/nl\/#website","url":"https:\/\/statorials.org\/nl\/","name":"Statorials","description":"Uw gids voor statistische competentie","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/statorials.org\/nl\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"de"},{"@type":"Person","@id":"https:\/\/statorials.org\/nl\/#\/schema\/person\/d4b8842173cca1bb62cdec41860e4219","name":"Dr.benjamin anderson","image":{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/statorials.org\/nl\/#\/schema\/person\/image\/","url":"http:\/\/statorials.org\/nl\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","contentUrl":"http:\/\/statorials.org\/nl\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","caption":"Dr.benjamin anderson"},"description":"Ik ben Benjamin, een gepensioneerde hoogleraar statistiek die nu een toegewijde Statorials-lesgever is. Ik heb uitgebreide ervaring en expertise op het gebied van statistiek en ik ben vastbesloten om mijn kennis te delen met studenten via Statorials. Lees verder","sameAs":["http:\/\/statorials.org\/nl"]}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"_links":{"self":[{"href":"https:\/\/statorials.org\/nl\/wp-json\/wp\/v2\/posts\/516","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/statorials.org\/nl\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/statorials.org\/nl\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/statorials.org\/nl\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/statorials.org\/nl\/wp-json\/wp\/v2\/comments?post=516"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/nl\/wp-json\/wp\/v2\/posts\/516\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/nl\/wp-json\/wp\/v2\/media?parent=516"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/nl\/wp-json\/wp\/v2\/categories?post=516"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/nl\/wp-json\/wp\/v2\/tags?post=516"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}