{"id":4531,"date":"2023-07-10T08:38:39","date_gmt":"2023-07-10T08:38:39","guid":{"rendered":"https:\/\/statorials.org\/de\/sas-korrelationsmatrix\/"},"modified":"2023-07-10T08:38:39","modified_gmt":"2023-07-10T08:38:39","slug":"sas-korrelationsmatrix","status":"publish","type":"post","link":"https:\/\/statorials.org\/de\/sas-korrelationsmatrix\/","title":{"rendered":"So erstellen sie eine korrelationsmatrix in sas (mit beispiel)"},"content":{"rendered":"<p><\/p>\n<hr>\n<p><span style=\"color: #000000;\">Eine <a href=\"https:\/\/statorials.org\/de\/wie-man-eine-korrelationsmatrix-liest\/\" target=\"_blank\" rel=\"noopener\">Korrelationsmatrix<\/a> ist eine quadratische Tabelle, die die <a href=\"https:\/\/statorials.org\/de\/pearson-korrelationskoeffizient-1\/\" target=\"_blank\" rel=\"noopener\">Korrelationskoeffizienten<\/a> zwischen Variablen in einem Datensatz anzeigt.<\/span><\/p>\n<p> <span style=\"color: #000000;\">Es bietet eine schnelle M\u00f6glichkeit, die St\u00e4rke linearer Beziehungen zu verstehen, die zwischen Variablen in einem Datensatz bestehen.<\/span><\/p>\n<p> <span style=\"color: #000000;\">Sie k\u00f6nnen die <strong>PROC CORR-<\/strong> Anweisung in SAS verwenden, um eine Korrelationsmatrix f\u00fcr einen bestimmten Datensatz zu erstellen:<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <span style=\"color: #000000;\"><strong><span style=\"color: #008000;\">\/*create correlation matrix using all numeric variables in my_data*\/\n<\/span><span style=\"color: #800080;\">proc corr<\/span> <span style=\"color: #3366ff;\">data<\/span> =my_data;\n<span style=\"color: #800080;\">run<\/span> ;<\/strong><\/span><\/pre>\n<p> <span style=\"color: #000000;\">Standardm\u00e4\u00dfig wird dadurch eine Matrix erstellt, die die Korrelationskoeffizienten zwischen allen numerischen Variablen im Datensatz anzeigt.<\/span><\/p>\n<p> <span style=\"color: #000000;\">Um nur bestimmte Variablen in die Korrelationsmatrix aufzunehmen, k\u00f6nnen Sie die <strong>VAR-<\/strong> Anweisung verwenden:<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <span style=\"color: #000000;\"><strong><span style=\"color: #008000;\">\/*create correlation matrix using only var1, var2 and var3 in my_data*\/\n<\/span><span style=\"color: #800080;\">proc corr<\/span> <span style=\"color: #3366ff;\">data<\/span> =my_data;\n    <span style=\"color: #3366ff;\">var<\/span> var1, var2, var3;\n<span style=\"color: #800080;\">run<\/span> ;<\/strong><\/span><\/pre>\n<p> <span style=\"color: #000000;\">Das folgende Beispiel zeigt, wie eine Korrelationsmatrix in SAS erstellt wird.<\/span><\/p>\n<h2> <strong>Beispiel: Erstellen einer Korrelationsmatrix in SAS<\/strong><\/h2>\n<p> <span style=\"color: #000000;\">Angenommen, wir haben in SAS den folgenden Datensatz, der Informationen \u00fcber verschiedene Basketballspieler enth\u00e4lt:<\/span> <\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <span style=\"color: #000000;\"><strong><span style=\"color: #008000;\">\/*create dataset*\/\n<\/span><span style=\"color: #800080;\">data<\/span> my_data;\n    <span style=\"color: #3366ff;\">input<\/span> team $ assists rebounds points;\n    <span style=\"color: #3366ff;\">datalines<\/span> ;\nA 4 12 22\nA 5 14 24\nA 5 13 26\nA 6 7 26\nB 7 8 29\nB 8 8 32\nB 8 9 20\nB 10 13 14\n;\n<span style=\"color: #800080;\">run<\/span> ;\n\n<span style=\"color: #008000;\">\/*view dataset*\/\n<\/span><span style=\"color: #800080;\">proc print<\/span> <span style=\"color: #3366ff;\">data<\/span> =my_data;<\/strong><\/span> <\/pre>\n<p><img decoding=\"async\" loading=\"lazy\" class=\" wp-image-35398 aligncenter\" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/corrmat1.png\" alt=\"\" width=\"309\" height=\"237\" srcset=\"\" sizes=\"\"><\/p>\n<p> <span style=\"color: #000000;\">Mit der <strong>PROC CORR-<\/strong> Anweisung k\u00f6nnen wir eine Korrelationsmatrix erstellen, die standardm\u00e4\u00dfig jede numerische Variable im Datensatz enth\u00e4lt:<\/span> <\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <span style=\"color: #000000;\"><strong><span style=\"color: #008000;\">\/*create correlation matrix using all numeric variables in my_data*\/\n<\/span><span style=\"color: #800080;\">proc corr<\/span> <span style=\"color: #3366ff;\">data<\/span> =my_data;\n<span style=\"color: #800080;\">run<\/span> ;<\/strong><\/span> <\/pre>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-35400\" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/corrmat2.png\" alt=\"Korrelationsmatrix in SAS\" width=\"465\" height=\"422\" srcset=\"\" sizes=\"\"><\/p>\n<p> <span style=\"color: #000000;\">Die Ausgabe zeigt zusammenfassende Statistiken der numerischen Variablen in der ersten Tabelle zusammen mit einer Korrelationsmatrix an.<\/span><\/p>\n<p> <span style=\"color: #000000;\">Beachten Sie, dass die Variable \u201eTeam\u201c nicht in der Korrelationsmatrix enthalten war, da es sich nicht um eine numerische Variable handelte.<\/span><\/p>\n<p> <span style=\"color: #000000;\">So interpretieren Sie die Korrelationsmatrixwerte:<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>(1)<\/strong> Der Pearson-Korrelationskoeffizient (r) zwischen <strong>Assists<\/strong> und <strong>Rebounds<\/strong> betr\u00e4gt <strong>-0,24486<\/strong> . Der entsprechende p-Wert betr\u00e4gt <strong>0,5589<\/strong> .<\/span><\/p>\n<p> <span style=\"color: #000000;\">Da r kleiner als Null ist, bedeutet dies, dass zwischen diesen beiden Variablen ein negativer linearer Zusammenhang besteht. Da der p-Wert jedoch nicht kleiner als 0,05 ist, ist dieser Zusammenhang statistisch nicht signifikant.<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>(2)<\/strong> Der Pearson-Korrelationskoeffizient (r) zwischen <strong>Assists<\/strong> und <b>Punkten<\/b> betr\u00e4gt <strong>-0,32957<\/strong> . Der entsprechende p-Wert betr\u00e4gt <strong>0,4253<\/strong> .<\/span><\/p>\n<p> <span style=\"color: #000000;\">Es besteht ein negativer linearer Zusammenhang zwischen diesen beiden Variablen, der jedoch statistisch nicht signifikant ist.<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>(3)<\/strong> Der Pearson-Korrelationskoeffizient (r) zwischen <b>Rebounds<\/b> und <b>Punkten<\/b> betr\u00e4gt <strong>-0,52209<\/strong> . Der entsprechende p-Wert betr\u00e4gt <strong>0,1844<\/strong> .<\/span><\/p>\n<p> <span style=\"color: #000000;\">Es besteht ein negativer linearer Zusammenhang zwischen diesen beiden Variablen, der jedoch statistisch nicht signifikant ist.<\/span><\/p>\n<p> <span style=\"color: #000000;\">Beachten Sie, dass wir die <strong>VAR-<\/strong> Anweisung auch verwenden k\u00f6nnten, um nur bestimmte numerische Variablen in die Korrelationsmatrix aufzunehmen:<\/span> <\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <span style=\"color: #000000;\"><strong><span style=\"color: #008000;\">\/*create correlation matrix using only assists and rebounds variables*\/\n<\/span><span style=\"color: #800080;\">proc corr<\/span> <span style=\"color: #3366ff;\">data<\/span> =my_data;\n    <span style=\"color: #3366ff;\">var<\/span> assists rebounds;\n<span style=\"color: #800080;\">run<\/span> ;<\/strong><\/span> <\/pre>\n<p><img decoding=\"async\" loading=\"lazy\" class=\" wp-image-35401 aligncenter\" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/corrmat3.png\" alt=\"\" width=\"466\" height=\"357\" srcset=\"\" sizes=\"\"><\/p>\n<p> <span style=\"color: #000000;\">Beachten Sie, dass in dieser Korrelationsmatrix nur die <strong>Assists-<\/strong> und <strong>Rebounds<\/strong> -Variablen ber\u00fccksichtigt wurden.<\/span><\/p>\n<h2> <span style=\"color: #000000;\"><strong>Zus\u00e4tzliche Ressourcen<\/strong><\/span><\/h2>\n<p> <span style=\"color: #000000;\">In den folgenden Tutorials wird erl\u00e4utert, wie Sie andere h\u00e4ufige Aufgaben in SAS ausf\u00fchren:<\/span><\/p>\n<p> <a href=\"https:\/\/statorials.org\/de\/sas-punktwolkenmatrix\/\" target=\"_blank\" rel=\"noopener\">So erstellen Sie eine Streudiagrammmatrix in SAS<\/a><br \/> <a href=\"https:\/\/statorials.org\/de\/pivot-tabelle-sas\/\" target=\"_blank\" rel=\"noopener\">So erstellen Sie PivotTables in SAS<\/a><br \/> <a href=\"https:\/\/statorials.org\/de\/lebhaft-in-der-luftschleuse\/\" target=\"_blank\" rel=\"noopener\">So berechnen Sie den Variance Inflation Factor (VIF) in SAS<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Eine Korrelationsmatrix ist eine quadratische Tabelle, die die Korrelationskoeffizienten zwischen Variablen in einem Datensatz anzeigt. Es bietet eine schnelle M\u00f6glichkeit, die St\u00e4rke linearer Beziehungen zu verstehen, die zwischen Variablen in einem Datensatz bestehen. Sie k\u00f6nnen die PROC CORR- Anweisung in SAS verwenden, um eine Korrelationsmatrix f\u00fcr einen bestimmten Datensatz zu erstellen: \/*create correlation matrix using [&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":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>So erstellen Sie eine Korrelationsmatrix in SAS (mit Beispiel) \u2013 Statorials<\/title>\n<meta name=\"description\" content=\"In diesem Tutorial wird anhand mehrerer Beispiele erl\u00e4utert, wie eine Korrelationsmatrix in SAS erstellt wird.\" \/>\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\/de\/sas-korrelationsmatrix\/\" \/>\n<meta property=\"og:locale\" content=\"de_DE\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"So erstellen Sie eine Korrelationsmatrix in SAS (mit Beispiel) \u2013 Statorials\" \/>\n<meta property=\"og:description\" content=\"In diesem Tutorial wird anhand mehrerer Beispiele erl\u00e4utert, wie eine Korrelationsmatrix in SAS erstellt wird.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/de\/sas-korrelationsmatrix\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-10T08:38:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/corrmat1.png\" \/>\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=\"2 Minuten\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/statorials.org\/de\/sas-korrelationsmatrix\/\",\"url\":\"https:\/\/statorials.org\/de\/sas-korrelationsmatrix\/\",\"name\":\"So erstellen Sie eine Korrelationsmatrix in SAS (mit Beispiel) \u2013 Statorials\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/de\/#website\"},\"datePublished\":\"2023-07-10T08:38:39+00:00\",\"dateModified\":\"2023-07-10T08:38:39+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/de\/#\/schema\/person\/ec75c4d6365f2708f8a0ad3a42121aa0\"},\"description\":\"In diesem Tutorial wird anhand mehrerer Beispiele erl\u00e4utert, wie eine Korrelationsmatrix in SAS erstellt wird.\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/de\/sas-korrelationsmatrix\/#breadcrumb\"},\"inLanguage\":\"de-DE\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/de\/sas-korrelationsmatrix\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/de\/sas-korrelationsmatrix\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Heim\",\"item\":\"https:\/\/statorials.org\/de\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"So erstellen sie eine korrelationsmatrix in sas (mit beispiel)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/statorials.org\/de\/#website\",\"url\":\"https:\/\/statorials.org\/de\/\",\"name\":\"Statorials\",\"description\":\"Ihr Leitfaden f\u00fcr statistische Kompetenz !\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/statorials.org\/de\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"de-DE\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/statorials.org\/de\/#\/schema\/person\/ec75c4d6365f2708f8a0ad3a42121aa0\",\"name\":\"Dr. Benjamin Anderson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"de-DE\",\"@id\":\"https:\/\/statorials.org\/de\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/statorials.org\/de\/wp-content\/uploads\/2023\/11\/Benjamin-Anderson-96x96.jpg\",\"contentUrl\":\"https:\/\/statorials.org\/de\/wp-content\/uploads\/2023\/11\/Benjamin-Anderson-96x96.jpg\",\"caption\":\"Dr. Benjamin Anderson\"},\"description\":\"Hallo, ich bin Benjamin, ein pensionierter Statistikprofessor, der sich zum engagierten Statorials-Lehrer entwickelt hat. Mit umfassender Erfahrung und Fachwissen auf dem Gebiet der Statistik bin ich bestrebt, mein Wissen zu teilen, um Studenten durch Statorials zu bef\u00e4higen. Mehr wissen\",\"sameAs\":[\"https:\/\/statorials.org\/de\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"So erstellen Sie eine Korrelationsmatrix in SAS (mit Beispiel) \u2013 Statorials","description":"In diesem Tutorial wird anhand mehrerer Beispiele erl\u00e4utert, wie eine Korrelationsmatrix in SAS erstellt wird.","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\/de\/sas-korrelationsmatrix\/","og_locale":"de_DE","og_type":"article","og_title":"So erstellen Sie eine Korrelationsmatrix in SAS (mit Beispiel) \u2013 Statorials","og_description":"In diesem Tutorial wird anhand mehrerer Beispiele erl\u00e4utert, wie eine Korrelationsmatrix in SAS erstellt wird.","og_url":"https:\/\/statorials.org\/de\/sas-korrelationsmatrix\/","og_site_name":"Statorials","article_published_time":"2023-07-10T08:38:39+00:00","og_image":[{"url":"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/corrmat1.png"}],"author":"Dr. Benjamin Anderson","twitter_card":"summary_large_image","twitter_misc":{"Verfasst von":"Dr. Benjamin Anderson","Gesch\u00e4tzte Lesezeit":"2 Minuten"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/statorials.org\/de\/sas-korrelationsmatrix\/","url":"https:\/\/statorials.org\/de\/sas-korrelationsmatrix\/","name":"So erstellen Sie eine Korrelationsmatrix in SAS (mit Beispiel) \u2013 Statorials","isPartOf":{"@id":"https:\/\/statorials.org\/de\/#website"},"datePublished":"2023-07-10T08:38:39+00:00","dateModified":"2023-07-10T08:38:39+00:00","author":{"@id":"https:\/\/statorials.org\/de\/#\/schema\/person\/ec75c4d6365f2708f8a0ad3a42121aa0"},"description":"In diesem Tutorial wird anhand mehrerer Beispiele erl\u00e4utert, wie eine Korrelationsmatrix in SAS erstellt wird.","breadcrumb":{"@id":"https:\/\/statorials.org\/de\/sas-korrelationsmatrix\/#breadcrumb"},"inLanguage":"de-DE","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/de\/sas-korrelationsmatrix\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/de\/sas-korrelationsmatrix\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Heim","item":"https:\/\/statorials.org\/de\/"},{"@type":"ListItem","position":2,"name":"So erstellen sie eine korrelationsmatrix in sas (mit beispiel)"}]},{"@type":"WebSite","@id":"https:\/\/statorials.org\/de\/#website","url":"https:\/\/statorials.org\/de\/","name":"Statorials","description":"Ihr Leitfaden f\u00fcr statistische Kompetenz !","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/statorials.org\/de\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"de-DE"},{"@type":"Person","@id":"https:\/\/statorials.org\/de\/#\/schema\/person\/ec75c4d6365f2708f8a0ad3a42121aa0","name":"Dr. Benjamin Anderson","image":{"@type":"ImageObject","inLanguage":"de-DE","@id":"https:\/\/statorials.org\/de\/#\/schema\/person\/image\/","url":"https:\/\/statorials.org\/de\/wp-content\/uploads\/2023\/11\/Benjamin-Anderson-96x96.jpg","contentUrl":"https:\/\/statorials.org\/de\/wp-content\/uploads\/2023\/11\/Benjamin-Anderson-96x96.jpg","caption":"Dr. Benjamin Anderson"},"description":"Hallo, ich bin Benjamin, ein pensionierter Statistikprofessor, der sich zum engagierten Statorials-Lehrer entwickelt hat. Mit umfassender Erfahrung und Fachwissen auf dem Gebiet der Statistik bin ich bestrebt, mein Wissen zu teilen, um Studenten durch Statorials zu bef\u00e4higen. Mehr wissen","sameAs":["https:\/\/statorials.org\/de"]}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"_links":{"self":[{"href":"https:\/\/statorials.org\/de\/wp-json\/wp\/v2\/posts\/4531"}],"collection":[{"href":"https:\/\/statorials.org\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/statorials.org\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/statorials.org\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/statorials.org\/de\/wp-json\/wp\/v2\/comments?post=4531"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/de\/wp-json\/wp\/v2\/posts\/4531\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/de\/wp-json\/wp\/v2\/media?parent=4531"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/de\/wp-json\/wp\/v2\/categories?post=4531"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/de\/wp-json\/wp\/v2\/tags?post=4531"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}