{"id":884,"date":"2023-07-28T10:40:30","date_gmt":"2023-07-28T10:40:30","guid":{"rendered":"https:\/\/statorials.org\/nl\/punt-biseriele-correlatiepython\/"},"modified":"2023-07-28T10:40:30","modified_gmt":"2023-07-28T10:40:30","slug":"punt-biseriele-correlatiepython","status":"publish","type":"post","link":"https:\/\/statorials.org\/nl\/punt-biseriele-correlatiepython\/","title":{"rendered":"Hoe punt-biseri\u00eble correlatie in python te berekenen"},"content":{"rendered":"<p><\/p>\n<hr>\n<p><span style=\"color: #000000;\"><strong>Punt-biseri\u00eble correlatie<\/strong> wordt gebruikt om de relatie tussen een binaire variabele, x, en een continue variabele, y, te meten.<\/span><\/p>\n<p> <span style=\"color: #000000;\">Net als bij de<a href=\"https:\/\/statorials.org\/nl\/pearson-correlatiecoefficient-1\/\" target=\"_blank\" rel=\"noopener\">Pearson-correlatieco\u00ebffici\u00ebnt<\/a> heeft de punt-biseri\u00eble correlatieco\u00ebffici\u00ebnt een waarde tussen -1 en 1 waarbij:<\/span><\/p>\n<ul>\n<li> <span style=\"color: #000000;\">-1 geeft een volkomen negatieve correlatie aan tussen twee variabelen<\/span><\/li>\n<li> <span style=\"color: #000000;\">0 geeft aan dat er geen correlatie is tussen twee variabelen<\/span><\/li>\n<li> <span style=\"color: #000000;\">1 geeft een perfect positieve correlatie aan tussen twee variabelen<\/span><\/li>\n<\/ul>\n<p> <span style=\"color: #000000;\">In deze tutorial wordt uitgelegd hoe u de punt-biseri\u00eble correlatie tussen twee variabelen in Python kunt berekenen.<\/span><\/p>\n<h3> <strong><span style=\"color: #000000;\">Voorbeeld: punt-biseri\u00eble correlatie in Python<\/span><\/strong><\/h3>\n<p> <span style=\"color: #000000;\">Stel dat we een binaire variabele hebben, x, en een continue variabele, y:<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong>x = [0, 1, 1, 0, 0, 0, 1, 0, 1, 1, 0]\ny = [12, 14, 17, 17, 11, 22, 23, 11, 19, 8, 12]\n<\/strong><\/pre>\n<p> <span style=\"color: #000000;\">We kunnen de functie <a href=\"https:\/\/docs.scipy.org\/doc\/scipy\/reference\/generated\/scipy.stats.pointbiserialr.html\" target=\"_blank\" rel=\"noopener\">pointbiserialr()<\/a> uit de bibliotheek scipy.stats gebruiken om de punt-biseri\u00eble correlatie tussen de twee variabelen te berekenen.<\/span><\/p>\n<p> <span style=\"color: #000000;\">Merk op dat deze functie een correlatieco\u00ebffici\u00ebnt retourneert samen met een overeenkomstige p-waarde:<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #107d3f;\">import<\/span> scipy.stats <span style=\"color: #107d3f;\">as<\/span> stats\n\n<span style=\"color: #008080;\">#calculate point-biserial correlation<\/span>\nstats. <span style=\"color: #3366ff;\">pointbiserialr<\/span> (x,y)\n\nPointbiserialrResult(correlation=0.21816, pvalue=0.51928)\n<\/strong><\/pre>\n<p> <span style=\"color: #000000;\">De punt-biseri\u00eble correlatieco\u00ebffici\u00ebnt is <strong>0,21816<\/strong> en de overeenkomstige p-waarde is <strong>0,51928<\/strong> .<\/span><\/p>\n<p> <span style=\"color: #000000;\">Omdat de correlatieco\u00ebffici\u00ebnt positief is, geeft dit aan dat wanneer de variabele x de waarde &#8222;1&#8220; aanneemt, de variabele y de neiging heeft hogere waarden aan te nemen dan wanneer de variabele x de waarde &#8222;0&#8220; aanneemt.<\/span><\/p>\n<p> <span style=\"color: #000000;\">Omdat de p-waarde van deze correlatie niet kleiner is dan 0,05, is deze correlatie niet statistisch significant.<\/span><\/p>\n<p> <em><span style=\"color: #000000;\">U kunt de exacte details van hoe deze correlatie wordt berekend vinden in de<\/span> <span style=\"color: #000000;\">scipy.stats- <a href=\"https:\/\/docs.scipy.org\/doc\/scipy\/reference\/generated\/scipy.stats.pointbiserialr.html\" target=\"_blank\" rel=\"noopener\">documentatie<\/a> .<\/span><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Punt-biseri\u00eble correlatie wordt gebruikt om de relatie tussen een binaire variabele, x, en een continue variabele, y, te meten. Net als bij dePearson-correlatieco\u00ebffici\u00ebnt heeft de punt-biseri\u00eble correlatieco\u00ebffici\u00ebnt een waarde tussen -1 en 1 waarbij: -1 geeft een volkomen negatieve correlatie aan tussen twee variabelen 0 geeft aan dat er geen correlatie is tussen twee variabelen [&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-884","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>Hoe punt-biseri\u00eble correlatie in Python te berekenen - Statorials<\/title>\n<meta name=\"description\" content=\"Een eenvoudige uitleg over het berekenen van punt-biseri\u00eble correlatie in Python.\" \/>\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\/punt-biseriele-correlatiepython\/\" \/>\n<meta property=\"og:locale\" content=\"de_DE\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Hoe punt-biseri\u00eble correlatie in Python te berekenen - Statorials\" \/>\n<meta property=\"og:description\" content=\"Een eenvoudige uitleg over het berekenen van punt-biseri\u00eble correlatie in Python.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/nl\/punt-biseriele-correlatiepython\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-28T10:40:30+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\/punt-biseriele-correlatiepython\/\",\"url\":\"https:\/\/statorials.org\/nl\/punt-biseriele-correlatiepython\/\",\"name\":\"Hoe punt-biseri\u00eble correlatie in Python te berekenen - Statorials\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/nl\/#website\"},\"datePublished\":\"2023-07-28T10:40:30+00:00\",\"dateModified\":\"2023-07-28T10:40:30+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/nl\/#\/schema\/person\/d4b8842173cca1bb62cdec41860e4219\"},\"description\":\"Een eenvoudige uitleg over het berekenen van punt-biseri\u00eble correlatie in Python.\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/nl\/punt-biseriele-correlatiepython\/#breadcrumb\"},\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/nl\/punt-biseriele-correlatiepython\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/nl\/punt-biseriele-correlatiepython\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Thuis\",\"item\":\"https:\/\/statorials.org\/nl\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Hoe punt-biseri\u00eble correlatie in python te berekenen\"}]},{\"@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":"Hoe punt-biseri\u00eble correlatie in Python te berekenen - Statorials","description":"Een eenvoudige uitleg over het berekenen van punt-biseri\u00eble correlatie in Python.","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\/punt-biseriele-correlatiepython\/","og_locale":"de_DE","og_type":"article","og_title":"Hoe punt-biseri\u00eble correlatie in Python te berekenen - Statorials","og_description":"Een eenvoudige uitleg over het berekenen van punt-biseri\u00eble correlatie in Python.","og_url":"https:\/\/statorials.org\/nl\/punt-biseriele-correlatiepython\/","og_site_name":"Statorials","article_published_time":"2023-07-28T10:40:30+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\/punt-biseriele-correlatiepython\/","url":"https:\/\/statorials.org\/nl\/punt-biseriele-correlatiepython\/","name":"Hoe punt-biseri\u00eble correlatie in Python te berekenen - Statorials","isPartOf":{"@id":"https:\/\/statorials.org\/nl\/#website"},"datePublished":"2023-07-28T10:40:30+00:00","dateModified":"2023-07-28T10:40:30+00:00","author":{"@id":"https:\/\/statorials.org\/nl\/#\/schema\/person\/d4b8842173cca1bb62cdec41860e4219"},"description":"Een eenvoudige uitleg over het berekenen van punt-biseri\u00eble correlatie in Python.","breadcrumb":{"@id":"https:\/\/statorials.org\/nl\/punt-biseriele-correlatiepython\/#breadcrumb"},"inLanguage":"de","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/nl\/punt-biseriele-correlatiepython\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/nl\/punt-biseriele-correlatiepython\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Thuis","item":"https:\/\/statorials.org\/nl\/"},{"@type":"ListItem","position":2,"name":"Hoe punt-biseri\u00eble correlatie in python te berekenen"}]},{"@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\/884","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=884"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/nl\/wp-json\/wp\/v2\/posts\/884\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/nl\/wp-json\/wp\/v2\/media?parent=884"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/nl\/wp-json\/wp\/v2\/categories?post=884"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/nl\/wp-json\/wp\/v2\/tags?post=884"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}