{"id":1070,"date":"2023-07-27T18:53:24","date_gmt":"2023-07-27T18:53:24","guid":{"rendered":"https:\/\/statorials.org\/tr\/python-cok-degiskenli-normallik-testi\/"},"modified":"2023-07-27T18:53:24","modified_gmt":"2023-07-27T18:53:24","slug":"python-cok-degiskenli-normallik-testi","status":"publish","type":"post","link":"https:\/\/statorials.org\/tr\/python-cok-degiskenli-normallik-testi\/","title":{"rendered":"Python&#39;da \u00e7ok de\u011fi\u015fkenli normallik testleri nas\u0131l ger\u00e7ekle\u015ftirilir"},"content":{"rendered":"<p><\/p>\n<hr>\n<p><span style=\"color: #000000;\">Tek bir de\u011fi\u015fkenin normal da\u011f\u0131l\u0131p da\u011f\u0131lmad\u0131\u011f\u0131n\u0131 test etmek istedi\u011fimizde<\/span><a href=\"https:\/\/statorials.org\/tr\/bazi-python-arsalari\/\" target=\"_blank\" rel=\"noopener noreferrer\"><span style=\"color: #000000;\">&nbsp;<\/span><\/a> Da\u011f\u0131l\u0131m\u0131 g\u00f6rselle\u015ftirmek i\u00e7in<a href=\"https:\/\/statorials.org\/tr\/bazi-python-arsalari\/\" target=\"_blank\" rel=\"noopener noreferrer\">QQ grafi\u011fi<\/a> veya <a href=\"https:\/\/statorials.org\/tr\/anderson-cheri-test-pitonu\/\" target=\"_blank\" rel=\"noopener noreferrer\">Anderson Darling testi<\/a> <span style=\"color: #000000;\">veya<\/span> <a href=\"https:\/\/statorials.org\/tr\/jarque-test-pitonu-olacak\/\" target=\"_blank\" rel=\"noopener noreferrer\">Jarque-Bera testi<\/a> <span style=\"color: #000000;\">gibi resmi bir istatistiksel test yapabiliriz<\/span> <span style=\"color: #000000;\">.<\/span><\/p>\n<p> <span style=\"color: #000000;\">Ancak <em>birden fazla<\/em> de\u011fi\u015fkenin grup halinde normal da\u011f\u0131l\u0131p da\u011f\u0131lmad\u0131\u011f\u0131n\u0131 test etmek istedi\u011fimizde <strong>\u00e7ok de\u011fi\u015fkenli normallik testi<\/strong> yapmam\u0131z gerekir.<\/span><\/p>\n<p> <span style=\"color: #000000;\">Bu e\u011fitimde Python&#8217;da belirli bir veri k\u00fcmesi i\u00e7in Henze-Zirkler \u00e7ok de\u011fi\u015fkenli normallik testinin nas\u0131l ger\u00e7ekle\u015ftirilece\u011fi a\u00e7\u0131klanmaktad\u0131r.<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>\u0130lgili:<\/strong> \u00c7ok de\u011fi\u015fkenli bir ba\u011flamda ayk\u0131r\u0131 de\u011ferleri belirlemek istiyorsak<\/span> <a href=\"https:\/\/statorials.org\/tr\/mahalanobis-uzak-pitonu\/\" target=\"_blank\" rel=\"noopener noreferrer\">Mahalanobis mesafesini<\/a> kullanabiliriz <span style=\"color: #000000;\">.<\/span><\/p>\n<h3> <strong>\u00d6rnek: Python&#8217;da Henze-Zirkler \u00e7ok de\u011fi\u015fkenli normallik testi<\/strong><\/h3>\n<p> <span style=\"color: #000000;\"><strong>Henze-Zirkler \u00e7ok de\u011fi\u015fkenli normallik testi,<\/strong> bir grup de\u011fi\u015fkenin \u00e7ok de\u011fi\u015fkenli normal da\u011f\u0131l\u0131ma uyup uymad\u0131\u011f\u0131n\u0131 belirler. Testin s\u0131f\u0131r ve alternatif hipotezleri a\u015fa\u011f\u0131daki gibidir:<\/span><\/p>\n<p> <span style=\"color: #000000;\">H <sub>0<\/sub> (bo\u015f): De\u011fi\u015fkenler \u00e7ok de\u011fi\u015fkenli normal da\u011f\u0131l\u0131ma uygundur.<\/span><\/p>\n<p> <span style=\"color: #000000;\">H <sub>a<\/sub> (alternatif): De\u011fi\u015fkenler \u00e7ok de\u011fi\u015fkenli normal da\u011f\u0131l\u0131ma <em>uymamaktad\u0131r<\/em> .<\/span><\/p>\n<p> <span style=\"color: #000000;\">Bu testi Python&#8217;da ger\u00e7ekle\u015ftirmek i\u00e7in penguin k\u00fct\u00fcphanesindeki <a href=\"https:\/\/pingouin-stats.org\/generated\/pingouin.multivariate_normality.html\" target=\"_blank\" rel=\"noopener noreferrer\">multivariate_normality()<\/a> fonksiyonunu kullanabiliriz.<\/span><\/p>\n<p> <span style=\"color: #000000;\">\u0130lk \u00f6nce pengueni kurmam\u0131z gerekiyor:<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong>pip <span style=\"color: #008000;\">install<\/span> penguin\n<\/strong><\/pre>\n<p> <span style=\"color: #000000;\">Daha sonra, <strong>multivariate_normality()<\/strong> fonksiyonunu i\u00e7e aktarabilir ve bunu belirli bir veri seti i\u00e7in \u00e7ok de\u011fi\u015fkenli normallik testi ger\u00e7ekle\u015ftirmek i\u00e7in kullanabiliriz:<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#import necessary packages<\/span>\n<span style=\"color: #008000;\">from<\/span> penguin <span style=\"color: #008000;\">import<\/span> multivariate_normality\n<span style=\"color: #008000;\">import<\/span> pandas <span style=\"color: #008000;\">as<\/span> pd\n<span style=\"color: #008000;\">import<\/span> numpy <span style=\"color: #008000;\">as<\/span> np\n\n<span style=\"color: #008080;\">#create a dataset with three variables x1, x2, and x3\n<span style=\"color: #000000;\">df = pd.DataFrame({'x1':np.random.normal(size= <span style=\"color: #008000;\">50<\/span> ),\n                   'x2': np.random.normal(size= <span style=\"color: #008000;\">50<\/span> ),\n                   'x3': np.random.normal(size= <span style=\"color: #008000;\">50<\/span> )})<\/span>\n\n#perform the Henze-Zirkler Multivariate Normality Test<\/span>\nmultivariate_normality(df, alpha= <span style=\"color: #008000;\">.05<\/span> )\n\nHZResults(hz=0.5956866563391165, pval=0.6461804077893423, normal=True)<\/strong><\/pre>\n<p> <span style=\"color: #000000;\">Test sonu\u00e7lar\u0131 a\u015fa\u011f\u0131daki gibidir:<\/span><\/p>\n<ul>\n<li> <span style=\"color: #000000;\"><strong>Test istatisti\u011fi Hz:<\/strong> 0,59569<\/span><\/li>\n<li> <span style=\"color: #000000;\"><strong>p-de\u011feri:<\/strong> 0,64618<\/span><\/li>\n<\/ul>\n<p> <span style=\"color: #000000;\">Testin p de\u011feri, belirledi\u011fimiz alfa de\u011feri olan 0,05&#8217;ten az olmad\u0131\u011f\u0131ndan s\u0131f\u0131r hipotezini reddetmede ba\u015far\u0131s\u0131z oluyoruz. Veri k\u00fcmesinin \u00e7ok de\u011fi\u015fkenli normal da\u011f\u0131l\u0131ma uydu\u011fu varsay\u0131labilir.<\/span><\/p>\n<p> <span style=\"color: #000000;\"><em><strong>\u0130lgili:<\/strong> <a href=\"https:\/\/www.ncbi.nlm.nih.gov\/pmc\/articles\/PMC3927875\/\" target=\"_blank\" rel=\"noopener noreferrer\">Bu ara\u015ft\u0131rma makalesinde<\/a> Henze-Zirkler testinin ger\u00e7ek d\u00fcnyadaki t\u0131bbi uygulamalarda nas\u0131l kullan\u0131ld\u0131\u011f\u0131n\u0131 \u00f6\u011frenin.<\/em><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tek bir de\u011fi\u015fkenin normal da\u011f\u0131l\u0131p da\u011f\u0131lmad\u0131\u011f\u0131n\u0131 test etmek istedi\u011fimizde&nbsp; Da\u011f\u0131l\u0131m\u0131 g\u00f6rselle\u015ftirmek i\u00e7inQQ grafi\u011fi veya Anderson Darling testi veya Jarque-Bera testi gibi resmi bir istatistiksel test yapabiliriz . Ancak birden fazla de\u011fi\u015fkenin grup halinde normal da\u011f\u0131l\u0131p da\u011f\u0131lmad\u0131\u011f\u0131n\u0131 test etmek istedi\u011fimizde \u00e7ok de\u011fi\u015fkenli normallik testi yapmam\u0131z gerekir. Bu e\u011fitimde Python&#8217;da belirli bir veri k\u00fcmesi i\u00e7in Henze-Zirkler \u00e7ok [&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-1070","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>Python&#039;da \u00c7ok De\u011fi\u015fkenli Normallik Testleri Nas\u0131l Yap\u0131l\u0131r - Statorials<\/title>\n<meta name=\"description\" content=\"Python&#039;da \u00e7ok de\u011fi\u015fkenli normallik testinin nas\u0131l ger\u00e7ekle\u015ftirilece\u011fine dair basit bir a\u00e7\u0131klama.\" \/>\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\/python-cok-degiskenli-normallik-testi\/\" \/>\n<meta property=\"og:locale\" content=\"tr_TR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python&#039;da \u00c7ok De\u011fi\u015fkenli Normallik Testleri Nas\u0131l Yap\u0131l\u0131r - Statorials\" \/>\n<meta property=\"og:description\" content=\"Python&#039;da \u00e7ok de\u011fi\u015fkenli normallik testinin nas\u0131l ger\u00e7ekle\u015ftirilece\u011fine dair basit bir a\u00e7\u0131klama.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/tr\/python-cok-degiskenli-normallik-testi\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-27T18:53:24+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=\"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=\"2 dakika\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/statorials.org\/tr\/python-cok-degiskenli-normallik-testi\/\",\"url\":\"https:\/\/statorials.org\/tr\/python-cok-degiskenli-normallik-testi\/\",\"name\":\"Python&#39;da \u00c7ok De\u011fi\u015fkenli Normallik Testleri Nas\u0131l Yap\u0131l\u0131r - Statorials\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/tr\/#website\"},\"datePublished\":\"2023-07-27T18:53:24+00:00\",\"dateModified\":\"2023-07-27T18:53:24+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/tr\/#\/schema\/person\/365dc158a39a7c8ae256355451e3de48\"},\"description\":\"Python&#39;da \u00e7ok de\u011fi\u015fkenli normallik testinin nas\u0131l ger\u00e7ekle\u015ftirilece\u011fine dair basit bir a\u00e7\u0131klama.\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/tr\/python-cok-degiskenli-normallik-testi\/#breadcrumb\"},\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/tr\/python-cok-degiskenli-normallik-testi\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/tr\/python-cok-degiskenli-normallik-testi\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Ev\",\"item\":\"https:\/\/statorials.org\/tr\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Python&#39;da \u00e7ok de\u011fi\u015fkenli normallik testleri nas\u0131l ger\u00e7ekle\u015ftirilir\"}]},{\"@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":"Python&#39;da \u00c7ok De\u011fi\u015fkenli Normallik Testleri Nas\u0131l Yap\u0131l\u0131r - Statorials","description":"Python&#39;da \u00e7ok de\u011fi\u015fkenli normallik testinin nas\u0131l ger\u00e7ekle\u015ftirilece\u011fine dair basit bir a\u00e7\u0131klama.","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\/python-cok-degiskenli-normallik-testi\/","og_locale":"tr_TR","og_type":"article","og_title":"Python&#39;da \u00c7ok De\u011fi\u015fkenli Normallik Testleri Nas\u0131l Yap\u0131l\u0131r - Statorials","og_description":"Python&#39;da \u00e7ok de\u011fi\u015fkenli normallik testinin nas\u0131l ger\u00e7ekle\u015ftirilece\u011fine dair basit bir a\u00e7\u0131klama.","og_url":"https:\/\/statorials.org\/tr\/python-cok-degiskenli-normallik-testi\/","og_site_name":"Statorials","article_published_time":"2023-07-27T18:53:24+00:00","author":"Dr.benjamin anderson","twitter_card":"summary_large_image","twitter_misc":{"Yazan:":"Dr.benjamin anderson","Tahmini okuma s\u00fcresi":"2 dakika"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/statorials.org\/tr\/python-cok-degiskenli-normallik-testi\/","url":"https:\/\/statorials.org\/tr\/python-cok-degiskenli-normallik-testi\/","name":"Python&#39;da \u00c7ok De\u011fi\u015fkenli Normallik Testleri Nas\u0131l Yap\u0131l\u0131r - Statorials","isPartOf":{"@id":"https:\/\/statorials.org\/tr\/#website"},"datePublished":"2023-07-27T18:53:24+00:00","dateModified":"2023-07-27T18:53:24+00:00","author":{"@id":"https:\/\/statorials.org\/tr\/#\/schema\/person\/365dc158a39a7c8ae256355451e3de48"},"description":"Python&#39;da \u00e7ok de\u011fi\u015fkenli normallik testinin nas\u0131l ger\u00e7ekle\u015ftirilece\u011fine dair basit bir a\u00e7\u0131klama.","breadcrumb":{"@id":"https:\/\/statorials.org\/tr\/python-cok-degiskenli-normallik-testi\/#breadcrumb"},"inLanguage":"tr","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/tr\/python-cok-degiskenli-normallik-testi\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/tr\/python-cok-degiskenli-normallik-testi\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Ev","item":"https:\/\/statorials.org\/tr\/"},{"@type":"ListItem","position":2,"name":"Python&#39;da \u00e7ok de\u011fi\u015fkenli normallik testleri nas\u0131l ger\u00e7ekle\u015ftirilir"}]},{"@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\/1070","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=1070"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/tr\/wp-json\/wp\/v2\/posts\/1070\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/tr\/wp-json\/wp\/v2\/media?parent=1070"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/tr\/wp-json\/wp\/v2\/categories?post=1070"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/tr\/wp-json\/wp\/v2\/tags?post=1070"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}