{"id":3890,"date":"2023-07-14T22:45:13","date_gmt":"2023-07-14T22:45:13","guid":{"rendered":"https:\/\/statorials.org\/de\/polynomielle-regression-in-sas\/"},"modified":"2023-07-14T22:45:13","modified_gmt":"2023-07-14T22:45:13","slug":"polynomielle-regression-in-sas","status":"publish","type":"post","link":"https:\/\/statorials.org\/de\/polynomielle-regression-in-sas\/","title":{"rendered":"So f\u00fchren sie eine polynomregression in sas durch"},"content":{"rendered":"<p><\/p>\n<hr>\n<p><span style=\"color: #000000;\">Die gebr\u00e4uchlichste Art der Regressionsanalyse ist die<a href=\"https:\/\/statorials.org\/de\/lineare-regression-1\/\" target=\"_blank\" rel=\"noopener noreferrer\">einfache lineare Regression<\/a> , die verwendet wird, wenn eine Pr\u00e4diktorvariable und eine <a href=\"https:\/\/statorials.org\/de\/variablen-erklarende-antworten\/\" target=\"_blank\" rel=\"noopener\">Antwortvariable<\/a> in einer linearen Beziehung stehen.<\/span><\/p>\n<p> <span style=\"color: #000000;\">Manchmal ist die Beziehung zwischen einer Pr\u00e4diktorvariablen und einer Antwortvariablen jedoch nichtlinear.<\/span><\/p>\n<p> <span style=\"color: #000000;\">In diesen F\u00e4llen ist es sinnvoll, <strong>eine polynomielle Regression<\/strong> zu verwenden, die die nichtlineare Beziehung zwischen Variablen ber\u00fccksichtigen kann.<\/span><\/p>\n<p> <span style=\"color: #000000;\">Das folgende Beispiel zeigt, wie eine Polynomregression in SAS durchgef\u00fchrt wird.<\/span><\/p>\n<h2> <span style=\"color: #000000;\"><strong>Beispiel: Polynomielle Regression in SAS<\/strong><\/span><\/h2>\n<p> <span style=\"color: #000000;\">Nehmen wir an, wir haben den folgenden Datensatz in SAS:<\/span> <\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008000;\">\/*create dataset*\/\n<\/span><span style=\"color: #800080;\">data<\/span> my_data;\n    <span style=\"color: #3366ff;\">input<\/span> xy;\n    <span style=\"color: #3366ff;\">datalines<\/span> ;\n2 18\n4 14\n4 16\n5 17\n6 18\n7 23\n7 25\n8 28\n9 32\n12 29\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;\n<\/strong><\/pre>\n<p><img decoding=\"async\" loading=\"lazy\" class=\" wp-image-31346 aligncenter\" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/polysas1.jpg\" alt=\"\" width=\"118\" height=\"292\" srcset=\"\" sizes=\"\"><\/p>\n<p> <span style=\"color: #000000;\">Nehmen wir nun an, wir erstellen ein Streudiagramm, um die Beziehung zwischen den Variablen x und y im Datensatz zu visualisieren:<\/span> <\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008000;\">\/*create scatter plot of x vs. y*\/\n<span style=\"color: #000000;\"><span style=\"color: #800080;\">proc sgplot<\/span> <span style=\"color: #3366ff;\">data<\/span> =my_data;\n    scatter <span style=\"color: #3366ff;\">x<\/span> =x <span style=\"color: #3366ff;\">y<\/span> =y;\n<span style=\"color: #800080;\">run<\/span> ;<\/span><\/span><\/strong> <\/pre>\n<p><img decoding=\"async\" loading=\"lazy\" class=\" wp-image-31347 aligncenter\" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/polysas2.jpg\" alt=\"\" width=\"592\" height=\"440\" srcset=\"\" sizes=\"\"><\/p>\n<p> <span style=\"color: #000000;\">Aus der Grafik k\u00f6nnen wir ersehen, dass die Beziehung zwischen x und y kubisch zu sein scheint.<\/span><\/p>\n<p> <span style=\"color: #000000;\">Wir k\u00f6nnen also zwei neue Pr\u00e4diktorvariablen in unserem Datensatz definieren (x <sup>2<\/sup> und x <sup>3<\/sup> ) und dann <strong>proc reg<\/strong> verwenden, um ein polynomiales Regressionsmodell mithilfe dieser Pr\u00e4diktorvariablen anzupassen:<\/span> <\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008000;\">\/*create dataset with new predictor variables*\/\n<\/span><span style=\"color: #800080;\">data<\/span> my_data;\n    <span style=\"color: #3366ff;\">input<\/span> xy;\n    x2 = x** <span style=\"color: #008000;\">2<\/span> ;\n    x3 = x** <span style=\"color: #008000;\">3<\/span> ;\n    <span style=\"color: #3366ff;\">datalines<\/span> ;\n2 18\n4 14\n4 16\n5 17\n6 18\n7 23\n7 25\n8 28\n9 32\n12 29\n;\n<span style=\"color: #800080;\">run<\/span> ;\n\n<span style=\"color: #008000;\">\/*fit polynomial regression model*\/\n<\/span><span style=\"color: #800080;\">proc reg<\/span> <span style=\"color: #3366ff;\">data<\/span> =my_data;\n    <span style=\"color: #3366ff;\">model<\/span> y = x x2 x3;\n<span style=\"color: #800080;\">run<\/span> ;\n<\/strong><\/pre>\n<p><img decoding=\"async\" loading=\"lazy\" class=\" wp-image-31349 aligncenter\" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/polysas3.jpg\" alt=\"\" width=\"413\" height=\"542\" srcset=\"\" sizes=\"\"><\/p>\n<p> <span style=\"c\/*create scatter plot*\/ proc sgplot data=my_data; scatter x=x y=y; run;olor: #000000;\">Aus der Tabelle <strong>\u201eParametersch\u00e4tzungen\u201c<\/strong> k\u00f6nnen wir die Koeffizientensch\u00e4tzungen ermitteln und unsere angepasste polynomiale Regressionsgleichung wie folgt schreiben:<\/span><\/p>\n<p> <span style=\"color: #000000;\">y = 37,213 \u2013 14,238x + 2,648x <sup>2<\/sup> \u2013 0,126x <sup>3<\/sup><\/span><\/p>\n<p> <span style=\"color: #000000;\">Diese Gleichung kann verwendet werden, um den erwarteten Wert der Antwortvariablen bei gegebenem Wert der Pr\u00e4diktorvariablen zu ermitteln.<\/span><\/p>\n<p> <span style=\"color: #000000;\">Wenn xa beispielsweise den Wert 4 hat, sollte y den Wert 14,565 haben:<\/span><\/p>\n<p> <span style=\"color: #000000;\">y = 37,213 \u2013 14,238(4) + 2,648(4) <sup>2<\/sup> \u2013 0,126(4) <sup>3<\/sup> = <strong>14,565<\/strong><\/span><\/p>\n<p> <span style=\"color: #000000;\">Wir k\u00f6nnen auch sehen, dass das polynomiale Regressionsmodell einen angepassten R-Quadrat-Wert von <strong>0,9636<\/strong> hat, was sehr nahe bei eins liegt und uns zeigt, dass das Modell den Datensatz hervorragend anpasst.<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>Verwandte Themen:<\/strong> <a href=\"https:\/\/statorials.org\/de\/angepasste-r-quadrat-interpretation\/\" target=\"_blank\" rel=\"noopener\">So interpretieren Sie das angepasste R-Quadrat (mit Beispielen)<\/a><\/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\/einfache-lineare-regression-in-sas\/\" target=\"_blank\" rel=\"noopener\">So f\u00fchren Sie eine einfache lineare Regression in SAS durch<\/a><br \/> <a href=\"https:\/\/statorials.org\/de\/multiple-lineare-regression-in-sas\/\" target=\"_blank\" rel=\"noopener\">So f\u00fchren Sie eine multiple lineare Regression in SAS durch<\/a><br \/> <a href=\"https:\/\/statorials.org\/de\/quantilregression-in-sas\/\" target=\"_blank\" rel=\"noopener\">So f\u00fchren Sie eine Quantilregression in SAS durch<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Die gebr\u00e4uchlichste Art der Regressionsanalyse ist dieeinfache lineare Regression , die verwendet wird, wenn eine Pr\u00e4diktorvariable und eine Antwortvariable in einer linearen Beziehung stehen. Manchmal ist die Beziehung zwischen einer Pr\u00e4diktorvariablen und einer Antwortvariablen jedoch nichtlinear. In diesen F\u00e4llen ist es sinnvoll, eine polynomielle Regression zu verwenden, die die nichtlineare Beziehung zwischen Variablen ber\u00fccksichtigen kann. [&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 f\u00fchren Sie eine Polynomregression in SAS - Statorials durch<\/title>\n<meta name=\"description\" content=\"In diesem Tutorial wird anhand eines Beispiels erl\u00e4utert, wie eine Polynomregression in SAS durchgef\u00fchrt 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\/polynomielle-regression-in-sas\/\" \/>\n<meta property=\"og:locale\" content=\"de_DE\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"So f\u00fchren Sie eine Polynomregression in SAS - Statorials durch\" \/>\n<meta property=\"og:description\" content=\"In diesem Tutorial wird anhand eines Beispiels erl\u00e4utert, wie eine Polynomregression in SAS durchgef\u00fchrt wird.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/de\/polynomielle-regression-in-sas\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-14T22:45:13+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/polysas1.jpg\" \/>\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\/polynomielle-regression-in-sas\/\",\"url\":\"https:\/\/statorials.org\/de\/polynomielle-regression-in-sas\/\",\"name\":\"So f\u00fchren Sie eine Polynomregression in SAS - Statorials durch\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/de\/#website\"},\"datePublished\":\"2023-07-14T22:45:13+00:00\",\"dateModified\":\"2023-07-14T22:45:13+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/de\/#\/schema\/person\/ec75c4d6365f2708f8a0ad3a42121aa0\"},\"description\":\"In diesem Tutorial wird anhand eines Beispiels erl\u00e4utert, wie eine Polynomregression in SAS durchgef\u00fchrt wird.\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/de\/polynomielle-regression-in-sas\/#breadcrumb\"},\"inLanguage\":\"de-DE\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/de\/polynomielle-regression-in-sas\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/de\/polynomielle-regression-in-sas\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Heim\",\"item\":\"https:\/\/statorials.org\/de\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"So f\u00fchren sie eine polynomregression in sas durch\"}]},{\"@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 f\u00fchren Sie eine Polynomregression in SAS - Statorials durch","description":"In diesem Tutorial wird anhand eines Beispiels erl\u00e4utert, wie eine Polynomregression in SAS durchgef\u00fchrt 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\/polynomielle-regression-in-sas\/","og_locale":"de_DE","og_type":"article","og_title":"So f\u00fchren Sie eine Polynomregression in SAS - Statorials durch","og_description":"In diesem Tutorial wird anhand eines Beispiels erl\u00e4utert, wie eine Polynomregression in SAS durchgef\u00fchrt wird.","og_url":"https:\/\/statorials.org\/de\/polynomielle-regression-in-sas\/","og_site_name":"Statorials","article_published_time":"2023-07-14T22:45:13+00:00","og_image":[{"url":"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/polysas1.jpg"}],"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\/polynomielle-regression-in-sas\/","url":"https:\/\/statorials.org\/de\/polynomielle-regression-in-sas\/","name":"So f\u00fchren Sie eine Polynomregression in SAS - Statorials durch","isPartOf":{"@id":"https:\/\/statorials.org\/de\/#website"},"datePublished":"2023-07-14T22:45:13+00:00","dateModified":"2023-07-14T22:45:13+00:00","author":{"@id":"https:\/\/statorials.org\/de\/#\/schema\/person\/ec75c4d6365f2708f8a0ad3a42121aa0"},"description":"In diesem Tutorial wird anhand eines Beispiels erl\u00e4utert, wie eine Polynomregression in SAS durchgef\u00fchrt wird.","breadcrumb":{"@id":"https:\/\/statorials.org\/de\/polynomielle-regression-in-sas\/#breadcrumb"},"inLanguage":"de-DE","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/de\/polynomielle-regression-in-sas\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/de\/polynomielle-regression-in-sas\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Heim","item":"https:\/\/statorials.org\/de\/"},{"@type":"ListItem","position":2,"name":"So f\u00fchren sie eine polynomregression in sas durch"}]},{"@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\/3890"}],"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=3890"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/de\/wp-json\/wp\/v2\/posts\/3890\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/de\/wp-json\/wp\/v2\/media?parent=3890"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/de\/wp-json\/wp\/v2\/categories?post=3890"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/de\/wp-json\/wp\/v2\/tags?post=3890"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}